Source code purchase verification - codeintra

Codeintra Purchase Verification allows you to verify that user has purchased your item or not using a unique license key or purchase code. Using our API you can check whether buyer has purchased the item or not.

Unique Features of Purchase Code Verifier :

✔ Verify your Unlimited source code from Codeintra.
✔ You get a Dynamic working Verify Purchase Code Snippet.
✔ Keeps fakes out! Each purchase code or license key can only be used one time.

✔ Activate or Deactivate Any license and anytime
✔ Super easy to use! Takes only few minutes to configure!

Source code purchase verification - codeintra

Steps to integrate in your projects

First, you need to define your unique secret key when uploading your item in the author product upload form.

A secret key is the combination of numeric and alphabets only without having any space. Maximum 

The default secret key is: abc123

As shown in the below screenshot you have to provide the secret key at the time when you are uploading your item on codeintra.

Codeintra - Codeintra Marketplace
You can request the for license check, activation and deactivation. For activation a license key for use of your project at user end can be done via following way: The activation API call is used to activate a single use of a license or buyer. The call must contain the email address of the license, the license key and the secret key linked to the license. Required parameters:
  • request – Must be activation
  • email – Email in license property (not necessarily the same as billing email in the order)
  • license_key 
  • product_id – Software Secret key associated with product you upload
Optional parameters:
  • platform – Decided by user or author.
Activation API requests can be called like this:
https://codeintra.com/woocommerce/?wc-api=software-api&request=activation&email=user_mail_id@mail.com&license_key=f6eh7dd5-bceb-42a8-a727-85e562f35t9e&product_id=abc123&platform=android
If you want to allow your license is only for android app then parameter platform will be android, or if you want set license for script then it can be anything as you wish to called when checking license. The above success API request will result below information:
{
"activated": true,
"instance": 1655131401,
"message": "1 out of 2 activations remaining",
"timestamp": 1655131401,
"sig": "24f81d575ff08a086d4eeb7733792c02"
}
Activated true means license is activated on user item successfully. Message shows the amount of activation remaining for that item. by default its unlimited activation. Now if the activation of license is not remaining then it will show the below information:
{
"error": "Exceeded maximum number of activations",
"code": "103",
"activated": false,
"timestamp": 1655131596,
"sig": "5011e0e148fbe03de271c2c49509f050"
}
If during the activation user enter wrong license key then it will display error like the below information:
{
"error": "Invalid License Key",
"code": "101",
"activated": false,
"timestamp": 1655131779,
"sig": "aeef9bf5bf7a1c44ce2cf7a28f3b1eaf"
}
For deactivation of a license key for use of your project at user end can be done via following way: The activation_reset API call deactivates all uses of a single license. The call must contain the email address of the license, the license key and the product id linked to the license. Required parameters:
  • request = activation_reset
  • email
  • license_key
  • product_id
Deactivation API requests can be called like this:
https://codeintra.com/woocommerce/?wc-api=software-api&request=activation_reset&email=user_mail_id@mail.com&license_key=bhp34589-d996-481a-be8c-214a73a8d21d&product_id=abc123
It will results the below information:
{
"reset": true,
"timestamp": 1655132389,
"sig": "d2712204a45f33655ca93bcedc0e2be4"
}
For checking a license key for use of your project at user end can be done via following way:

The check API call is used to check if a license has been activated. The call must contain the email address of the license, the license key and the product id linked to the license. It will return information about the current activations.

Required parameters:
  • request = check
  • email
  • license_key
  • product_id
Check API requests can be called like this:
https://codeintra.com/woocommerce/?wc-api=software-api&request=check&email=user_mail_id@mail.com&license_key=f6eh7dd5-bceb-42a8-a727-85e562f35t9e&product_id=abc123
If you check License without activation then it will show the information as like the below:
{
"success": true,
"timestamp": 1655132665,
"remaining": 1,
"activations": [
],
"sig": "4d966b195af610db028885f66c820d1a"
}
If The license is activated and then you check it, it will show the activation time also:
{
"success": true,
"timestamp": 1655132777,
"remaining": 0,
"activations": [
{
"activation_id": "13",
"instance": "1655132774",
"activation_platform": "android",
"activation_time": "2022-06-13 20:36:14"
}
],
"sig": "f42b1eaa91871123ecade8c2946a32c2"
}

Refund Reason