2024 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Contributed a free file of the month
+8 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?

366 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in United States
  • Has sold $250,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+9 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.

3047 posts
  • Located in Australia
  • Helps us moderate the forums
  • Has been part of the Envato Community for over 5 years
  • Helped several times protecting Envato Market against copyright violations
+16 more
dtbaker Volunteer 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 ).

2024 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Contributed a free file of the month
+8 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”:

2024 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Contributed a free file of the month
+8 more
revaxarts says

Bump!

366 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in United States
  • Has sold $250,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+9 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 ?

2024 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Contributed a free file of the month
+8 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…

366 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in United States
  • Has sold $250,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+9 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! ;)

by
by
by
by
by
by