- This topic has 3 replies, 2 voices, and was last updated 13 years, 2 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Reference Text within The product settings
Is there any way to pass the reference text that is set with the product with the paypal information to an external script, that is set in the 3rd party integration/memberwing integration settings/Paypal IPN post url?
I want to be able to pass a product id to the licensing script.
Thanks
Frank
The “PayPal IPN Post” feature just sends the PayPal’s IPN to a 3rd party script. The reference text is not part of the IPN so it doesn’t get sent. You don’t need to send it though… given your script is reading stuff from the WordPress database you can read this value from the eStore’s products table. The product ID (key) is present in the IPN.
Great, what is the post variable that I’ll call on the receiving script to get the product id?
Thanks,
Frank
If it is a one item checkout then it will be in the following POST variable:
item_number
If it is shopping cart checkout then it will be in the following variable:
item_numberX
X being the counter (example:1,2,3 etc)
The structure is a little complex for the shopping cart checkout but this documentation will explain: