Item Purchase Code


#1

hey. i am wondering, how can i get a list of “Item Purchase Codes”, for my sold themes? an xml… a .txt file. whatever. i saw this in someones support forum, in the registration area, the customer has to enter the purchase code, and the website checks it somewhere. how can i do that? using the api?


#2

http://marketplace.envato.com/api/documentation

You want the verify-purchase method.

The buyer can get the purchase code by downloading the license certificate on their downloads page.


#3
conceptcoding said

http://marketplace.envato.com/api/documentation

You want the verify-purchase method.

The buyer can get the purchase code by downloading the license certificate on their downloads page.

My account -> Downloads -> License certificate (link under each item)

The last part of the link is the Purchase Code:

So for example the link:

so the Purchase Code is:

d3b28c93-5e62-47b6-a5bd-f5798124bb9b

or just download the whole certificate and open it, it’s there too.


#4

ah that code :stuck_out_tongue:


#5

hey. thanks guys. what i want is to make a forum woth support. the usernames will have to enter their purchase code. i need to check the purchase. api can do that? can it return an xml with the purchase codes for my themes?
edit: can you give me ideas on how to start using the api and the purchase verify method?


#6

i got it. thanks.


#7
duotive said

i got it. thanks.

It would be awesome if you could share it with us.


#8

just read the api docs:) cant share my api code


#9

You do it like this:

http://marketplace.envato.com/api/edge/YOUR-USERNAME/YOUR-API-KEY/verify-purchase:PURCHASE-CODE-HERE.xml

and the result is the name of the buyer, how much they paid, when they bought it, and what they bought.


#10
Bluz said
duotive said

i got it. thanks.

It would be awesome if you could share it with us.


#11

Great question. As a buyer, I’ve always been frustrated with using only the comment section for support. I prefer when sellers use the API to provide support to verified buyers. I’ll be using the latter method myself.