2187 posts
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Participated in a focus group or interview to improve the user experience on Envato Market
  • Interviewed on an Envato blog
+10 more
revaxarts says

I’m going to integrate a native update functionality in my next WP plugin and would like to serve the zip file directly from my server.

This way customers don’t have to redownload the plugin and upload it to their sites. The download will be protected with its purchase code.

Any concerns?

376 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+8 more
RightHere says

I’ve asked this question multiple times to Codecanyon and every time the answer has been clearly no.

However I’ve seen more and more authors staring to do automatic update of their plugins. I guess they are also tired of waiting for this service.

I don’t know if this policy has changed.

3310 posts
  • Provided great contribution to our forums
  • Nominated Community Superstar of the month
  • Helps us moderate the forums
  • Has been part of the Envato Community for over 5 years
+18 more
dtbaker Moderator says

I offer updates. Only had positive feedback from customers. The “correct” way to do this would be to show “an update is available” notifications in WordPress, with a link to the codecanyon plugin page (or a direct link to the “download file” URL which you can get via the API ).

2187 posts
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Participated in a focus group or interview to improve the user experience on Envato Market
  • Interviewed on an Envato blog
+10 more
revaxarts says

I offer updates. Only had positive feedback from customers. The “correct” way to do this would be to show “an update is available” notifications in WordPress, with a link to the codecanyon plugin page (or a direct link to the “download file” URL which you can get via the API ).

I have a notification like “normal” plugins from the wordpress repo. I just don’t like to use the url from the Marketplace API because users will see the purchasecode and their API key and some may don’t like that:

I’m using a standard URL and send the purchasecode via POST . Also I like to provide the usual “plugin information page”:

2187 posts
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Participated in a focus group or interview to improve the user experience on Envato Market
  • Interviewed on an Envato blog
+10 more
revaxarts says

Bump!

376 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+8 more
RightHere says

Of course we should be able to offer automatic updates like you can do it from wordpress.org.

We offer a ‘update available’ notification, but the client still needs to go to Codecanyon and download it. I haven’t thought about the API option. If there already a script ready for this option ?

2187 posts
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Participated in a focus group or interview to improve the user experience on Envato Market
  • Interviewed on an Envato blog
+10 more
revaxarts says
I modified a found class for this purpose which works quite well. All you have to return is a JSON in this format:
Array (
     [version] => 1.1 //recent version
     [upgrade_notice] => Some short info
     [download_url] => http://YOURDOWNLOADURL
)

For the plugin api you need something similar (which get transmitted with the same request):

Array (
    [name] => Plugin Name
    [version] => 1.1
    [author] => yourusername
    [author_profile] => http://themeforest.net/yourusername
    [requires] => 3.3
    [tested] => 3.4
    [homepage] => http://yourhomepage.com
    [sections] => Array (
         [description] => description
         [installation] => installation
         [changelog] => changelog
         [more_stuff] => more_stuff
     )
    [download_link] => http://YOURDOWNLOADURL
)

I’m sure Envato could implement a similar way without using secret keys in the URI but that…

376 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+8 more
RightHere says

I modified a found class for this purpose which works quite well. All you have to return is a JSON in this format: I’m sure Envato could implement a similar way without using secret keys in the URI but that…

Thank you I appreciate it! ;)

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by