send a custom argument to url link

platonic1
Contributor
Contributor

Using the link https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=G27KSP4QVCQ48&custom=UI... Am I supposed to get the custom argument on IPN? If no. Is it possible to send a custom argument that would be sent to IPN and if so, how is it done?

 

 

Thanks

Login to Me Too
2 REPLIES 2

MTS_Justin
Moderator
Moderator

Hello,

Yes, using the "custom" variable you can pass a unique value and have that returned within IPN data. For a "hosted" or "saved button", edit the code for the button and go to "step 3" and in the section "advanced variables" add the following "custom=12345" (without quotes)

Save the button, copy the code and add to a webpage and test. You can check IPN history within your account to view the IPN data contained within the IPN message, by clicking on the "message id" value.

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_display-ipns-history

Thanks !


Was my post helpful? If so, please give me a kudos!
Login to Me Too

platonic1
Contributor
Contributor

So there is no way to add that custom argument, a dynamic value?

 

Thanks

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.