Hi, I set up a support forum and want to test the user set up function for that forum. As users need to enter there item purchase code to get access to the forum I’m stuck right now.
How can I get the purchase code for items where I’m the author without buying them from myself??
Thanks for any replies, CI
- Grew a moustache for the Envato Movember competition
- Community Moderator
- Contributed a Blog Post
- Author was Featured
- Item was Featured
- Won a Competition
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Has been a member for 4-5 years
Just setup a demo purchase code for each of your items. Then in your php code you can just look for your demo purchase code before going to the api.
if($code == "my-unique-purchase-code"){
// this is a demo verification.
}else{
// verify the $code via the envato api
}
then just cross your fingers and hope it works with the customer accounts 
Sounds good, I’ll give it a try. Thanks so far and thanks for the quick response!
