All Projects → codehaiku → envato-purchase-code-verifier

codehaiku / envato-purchase-code-verifier

Licence: MIT license
🚂 A nifty tool for Envato Authors needing to create purchase code verifier as easy and as fast as possible.

Programming Languages

PHP
23972 projects - #3 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to envato-purchase-code-verifier

medium-code
A place to store my jupyter notebooks for my medium articles
Stars: ✭ 27 (+42.11%)
Mutual labels:  code
ethereum-code-analysis
ethereum-code-analysis
Stars: ✭ 12 (-36.84%)
Mutual labels:  code
sphinx-markdown-builder
sphinx builder that outputs markdown files.
Stars: ✭ 135 (+610.53%)
Mutual labels:  code
wc4bp
WooCommerce BuddyPress Integration
Stars: ✭ 18 (-5.26%)
Mutual labels:  purchase
lite-xl
A lightweight text editor written in Lua
Stars: ✭ 2,796 (+14615.79%)
Mutual labels:  code
code summarization public
source code for 'Improving automatic source code summarization via deep reinforcement learning'
Stars: ✭ 71 (+273.68%)
Mutual labels:  code
Containerization-Automation
Study and Use of Containers and Automation Tools
Stars: ✭ 45 (+136.84%)
Mutual labels:  code
js-confuser
JS-Confuser is a JavaScript obfuscation tool to make your programs *impossible* to read.
Stars: ✭ 38 (+100%)
Mutual labels:  code
Gestures-Samples
Project Prague Code Samples
Stars: ✭ 98 (+415.79%)
Mutual labels:  code
Google-IAP
Android Library for easing Google Play Billing to your apps with support for Subscriptions, In-App Purchases and Consumables with a beautiful sample app.
Stars: ✭ 129 (+578.95%)
Mutual labels:  purchase
flaskcode
A web based code editor on python flask framework.
Stars: ✭ 43 (+126.32%)
Mutual labels:  code
Roassal2
Agile Visualization Engine for Pharo and VisualWorks
Stars: ✭ 23 (+21.05%)
Mutual labels:  code
PyTools
❤️❤️❤️ Cute Tools By Python
Stars: ✭ 51 (+168.42%)
Mutual labels:  code
DYFStoreKit
([Swift] https://github.com/chenxing640/DYFStore) A lightweight and easy-to-use iOS library for In-App Purchases (Objective-C). DYFStoreKit uses blocks and notifications to wrap StoreKit, provides receipt verification and transaction persistence and doesn't require any external dependencies.
Stars: ✭ 52 (+173.68%)
Mutual labels:  purchase
v-code-diff
A vue code diff display plugin, support Vue2 / Vue3
Stars: ✭ 93 (+389.47%)
Mutual labels:  code
bcp-47
Parse and stringify BCP 47 language tags
Stars: ✭ 51 (+168.42%)
Mutual labels:  code
DPB
Dynamic Project Builder
Stars: ✭ 22 (+15.79%)
Mutual labels:  code
cs
command line codespelunker or code search
Stars: ✭ 34 (+78.95%)
Mutual labels:  code
WinFBE
FreeBASIC Editor for Windows
Stars: ✭ 110 (+478.95%)
Mutual labels:  code
JavaCertification
This is a full resource guide for my attempt to get Java 11 Certified
Stars: ✭ 67 (+252.63%)
Mutual labels:  code

Envato Purchase Code Verifier

Clone, download, or copy the 'EnvatoPurchaseCodeVerifier' class to create your own Envato purchase verifier tool. You can go to index.php to see sample code. Read EnvatoPurchaseCodeVerifier.php to understand what the class is all about. It's really simple.

Contributions are highly appreciated!


  1. Require the class file:

    require_once 'EnvatoPurchaseCodeVerifier.php';
    
  2. Use the code below to create an instance of 'EnvatoPurchaseCodeVerifier'. Create your own access token at: https://build.envato.com/create-token

    $purchase = new EnvatoPurchaseCodeVerifier($access_token);
    
  3. Then, check the user purchase code:

    $verified = $purchase->verified($buyer_purchase_code);
    // Will return false if purchase code is invalid, otherwise the purchase data.
    

That's it! Happy Coding!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].