WarriorPlus | WarriorPlus
WarriorPlus > WarriorPlus Support > Knowledgebase

Search help:

[Advanced Topic] How does the key generation link work?


This topic is for advanced users.

You can create a key generation script, which will display information on the WSO Pro "thank you" page. This can come in handy if you need to supply information on the "thank you" page such as a specific access key, or login information.

The script will accept only the initial Paypal IPN information. In other words, it will not accept a recurring IPN for subscriptions.

The script you create can do any tasks that you may need it to, including call any of the IPN variables, however it is limited to 512 characters, and can only have very simple/basic HTML tags such as <p>, <br>, <strong>, <em>. In order to have the output displayed on the page, all you have to do is "echo" the output from your script.

As an example, if you are creating a random key, you could do something similar to this:

$randomKey = randomKeyFunction; //Function that creates key
$userName = $_POST['first_name']; //Buyers name from IPN

echo "<p>Hello <em>". $userName ."</em>.<br>Your generated key is: ". $randomKey ."</p>"; //This is what is displayed on the "thank you" page.

You can find a complete list of Paypal IPN variables, as well as some documentation on its uses here:


Was this article helpful? yes / no
Related articles How to List Products & Offers on WarriorPlus (And OTOs/Upsells)
External Membership Integration Information
How to Add Pixel Tracking Code as a Vendor/Affiliate
WarriorPlus API Documentation
[Advanced Topic] I want to integrate WSO Pro with a membership script or other third party script. Is this possible?
Article details
Article ID: 39
Date added: 2011-10-28 4:35am
Views: 4525
Rating (Votes): Article rated 3.2/5.0 (33)

« Go back