PLEASE NOTE: This help and support area is for WarriorPlus only. WarriorPlus.com (including WSO Pro and "WSO of the Day") is an independent site and is NOT affiliated with the Warrior Forum. For support requests or questions related to the Warrior Forum, please visit www.warriorforumsupport.com.
[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: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_admin_IPNReference
Was this article helpful?
Related articles How to List Products & Offers on WarriorPlus (And OTOs/Upsells) External Membership Integration Information [Advanced Topic] I want to integrate WSO Pro with a membership script or other third party script. Is this possible? WarriorPlus API Documentation What are coupons and how are they used?
Selling on WarriorPlus
« Go back