• Resolved plamendp

    (@plamendp)


    Hi,

    Upon calling “activate” API, everything works fine (as well as other API endpoints). I just wonder what is the “ctoken” in the response?

    Also, would be nice if it is possible to provide a way to submit (and store, just like IP is stored) a custom provided Id/String/whatever (during activation). My use case is I want to be able to store a “device name” or “person name” (i.e. where from and/or who is making the activation).

    Thanks,
    Plamen

Viewing 1 replies (of 1 total)
  • Plugin Contributor 10Quality

    (@10quality)

    The “ctoken” is the “cart token” that can be used to provide renewal and or extension cart url inside your products. We will be adding more documentation for this since this is paid feature. You are welcome to send us an email about this since we can not talk about paid products here (in www.ads-software.com).

    Currently the activation holds the IP (which is detected in the request), the activation ID (timestamp) and the domain (which is a custom string).

    If you wish to store more information on the activation, you can do this by using hooks. Here is a Github gist you can use as example:
    https://gist.github.com/10quality-info/96f02cb65d2854ce04ed459038822d1b

    We can provide you more hooks for if you wish to make this parameters required during the API call. Also if you wish to append some of this information during the “validate response”. All of these can be customized with available hooks.

    • This reply was modified 6 years, 5 months ago by 10Quality.
    • This reply was modified 6 years, 5 months ago by 10Quality. Reason: Adding additional comments regard the possibility of extending the customization with more existing hooks
Viewing 1 replies (of 1 total)
  • The topic ‘What is the ctoken purpose in the API response’ is closed to new replies.