officialzubairansari / sandbox-envato-api

Unofficial sandbox script to test purchase verification for envato items.

Home Page:https://darkgrey-sardine-675702.hostingersite.com/api.php?=829862b2-59ef-42c9-894c-665208ac2f41

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DISCLAIMER

This is not the official sandbox by envato, I voluntarily created this script to test the purchase code verification process.

This is a script that mocks the real Envato API for verifying purchase codes. You can use this to test a purchase code verification system.

  • Real API: https://api.envato.com/v3/market/author/sale?code=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  • Mocks API: https://sandbox.arcoticsolutions.com/envato/api.php?code=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

For full details on how purchase code verification works, see: https://forums.envato.com/t/#

Purchase Codes (Response Type)

  • Valid code: 829862b2-59ef-42c9-894c-665208ac2f41
    • Returns 200 with sale information.
  • Invalid code: 94252c00-df24-4cf5-99dd-49fc17e23043
    • Returns 404 with message 'Purchase code was not found (or) did not belong to one of your items.'.
  • Improper code: 02b6429f-9274-9a70-03ce49bc5a48
    • Returns 403 with message 'Your personal token is incorrect or is missing the required permission.'.

About

Unofficial sandbox script to test purchase verification for envato items.

https://darkgrey-sardine-675702.hostingersite.com/api.php?=829862b2-59ef-42c9-894c-665208ac2f41


Languages

Language:PHP 100.0%