Envato Purchase Code Generator

Order code generator Envato

If I download a free copy without an order code, how do I contact the author's support? Enter the name of the product you purchased from CodeCanyon / Envato. Enter the purchase code from the CodeCanyon / Envato download area. Once you have downloaded the certificate, you can open it in a text editor such as Notepad and copy the item purchase code:

Check your item purchases with the Envato APII.

And for those of you who don't know, a clear character sequence of characters and numbers will be created for each article you buy on one of Envato's markets, identifying a particular purchase. Buy code comes in the following form (note that this example is not a legal code, only an example in the same format); the possibility to check these code is a very useful capability for writers, as if they could simply and precisely pinpoint legitimately identifiable clients, and they can affort to buy more Premium service, such as client care boards that trust their "clients" to actually buy their article.

Fortunately, checking these code with the Marketplaces Application Programming Interface is very simple. If you select the "API Key" option on the "My Settings" page, you should see a display similar to the one below. The only thing you need to do is fill in the caption box and click the'Generate Application Programming Interface Key' icon.

Exactly, now we should have everything we need to make our work. We' ll use the PHP URL feature to interoperate with the application programming interface - some of our web sites have deactivated this feature, so if you have any issues, please verify your web site setup (or with your webmaster/webhost) to make sure it is activated.

In our role, the link to the code will look like this; Note: Update the code: So, with a little more effort, we look at the finished code. uusername ='USERNAME'; $api_key ='API KEY'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, http://marketplace.envato.com/api/edge/). The following _key ='PURCHASE TO TO CHECK' ; $purchase_data = verify_envato_purchase_code( $purchase_key) ; back' validation licence code !

The following details'; 'Details'; '× × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × ×. Items Name: Name: Hello: Hello: echo 'Item Name: Buyers: ' . $purchase_data['verify-purchase']['Buyers']. Licence: ' ' $purchase_data['verify-purchase']]['licence'] .

''''' Elcho 'Created at: Now, it'''''''''''echo'Invalid licence number. Ok, then let's drill down on the code above to see what's actually going on. In line 2 you can see that we create our verify_envato_purchase_code() feature, which takes only one argument, the purchase code to check:

I' ve set the user name and API key within the feature itself, as these should be handled as a constant, so the handover through the feature API is a repetitive gestural one. Note how I have saved the API key and user name in appropriate tags that I use to fill the various parts of the above described link address.

When we look at what our feature actually yields by squeezing it onto the display, you will see something similar like this: Note how the output arrays within an arrays. When we look back at our initial feature, you will see how by verifying the presence of one of the bits of information you can verify that the code validation was a success; if the code is not valid, it does not give back any information.

We can use this logical framework to deduce the following Boolean check: It gives us everything we need to validate Envato purchase code in an empirical way. However, the feature I have provided here is only a basic use of what can be achieved with this feature, and I would be happy to receive your suggestions about possible uses and/or how you have used them in your own code.

Auch interessant

Mehr zum Thema