2276 posts
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Created a helpful tool/app using the Envato API
  • Created a helpful tool/app for Envato Market users
+15 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
  • Had an item that was trending
  • Had an item that became a weekly top seller
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
+12 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.

5410 posts
  • Has sold $750,000+ on Envato Market
  • Helps us moderate the forums
  • Won a competition
  • Has been part of the Envato Community for over 6 years
+20 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 ).

2276 posts
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Created a helpful tool/app using the Envato API
  • Created a helpful tool/app for Envato Market users
+15 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”:

2276 posts
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Created a helpful tool/app using the Envato API
  • Created a helpful tool/app for Envato Market users
+15 more
revaxarts
says

Bump!

376 posts
  • Had an item that was trending
  • Had an item that became a weekly top seller
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
+12 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 ?

2276 posts
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Created a helpful tool/app using the Envato API
  • Created a helpful tool/app for Envato Market users
+15 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
  • Had an item that was trending
  • Had an item that became a weekly top seller
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
+12 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