Jump to content

How to download paid products with an API URL?


CainSzk

Recommended Posts

I'm an oxide plugin author and is developing a plugin that can auto update plugins when it has a new version. 

It will check the online version and compare with local plugin version to decide which one need to update.

Now the free plugins are totally functional because I can use URL?do=download to download.

But the paid ones cannot be download from this URL because user is not login.

Link to comment
Share on other sites

  • Administrator

This wouldn't be possible. While we do have an API for such a thing, downloading an update of a paid file would require an oauth token for every single server. That's not something we'd deploy for a single developer. However, this is built into Carbon already so you shouldn't worry about implementing your own auto updater into the plugin itself.

Link to comment
Share on other sites

I know Carbon's cpanel can do this thing. But it will be intalled with carbon framework not oxide framework. Now some oxide plugins are still not functional under carbon framwork such as AdminRadar.cs.

And carbon's auto update is using the original url from Umod and CodeFling, but Chinese has GFW so the server owners (about 10k ones) in China cannot connect and will receive timeout.

So our plugin will adding a VPN proxy into it. 

Thank you.

Link to comment
Share on other sites

  • Administrator
2 minutes ago, shenzhoukai said:

I know Carbon's cpanel can do this thing. But it will be intalled with carbon framework not oxide framework. Now some oxide plugins are still not functional under carbon framwork such as AdminRadar.cs.

And carbon's auto update is using the original url from Umod and CodeFling, but Chinese has GFW so the server owners (about 10k ones) in China cannot connect and will receive timeout.

So our plugin will adding a VPN proxy into it. 

Thank you.

This is not possible. In order to download purchased content via our API you'd need the user's oauth token. This isn't something we're going to allow as these tokens can be harvested by malicious users to gain access to paid content.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.5k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.