Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this work for the latest versions? #6

Open
rmorse opened this issue Jul 12, 2018 · 1 comment
Open

Does this work for the latest versions? #6

rmorse opened this issue Jul 12, 2018 · 1 comment

Comments

@rmorse
Copy link

rmorse commented Jul 12, 2018

I uploaded this on a site, the add to cart button is replaced with a download button, but it just refreshes the page?

Also, do you have any info on the best practice in terms of the api request inside our plugins? Do we just leave out license key?

$edd_updater = new EDD_SL_Plugin_Updater( URL, __FILE__, array( 'version' => VER, // current version number 'license' => '', // license key (used get_option above to retrieve from DB) 'item_id' => ID, // ID of the product 'author' => 'Search & Filter Pro', // author of this plugin 'beta' => false ) );

Thanks

@JDGrimes
Copy link
Owner

HI @rmorse, sorry for the delayed reply, I have been really busy. I had a similar issue with the download button a couple months ago, and I was able to fix it, but I don't remember what the problem was.

As far as the API, yes, you can just leave the license key empty, or leave that field out completely. Either way it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants