send a custom argument to url link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Need Help Upgrading to PayPal complete payments in PayPal Upgrade Community
- Inconsistent behavior between Sandbox and Production in PayPal Payments Standard
- A simple way to install the new payment integration. in PayPal Payments Standard
- Invoice links sending customers to the wrong invoice in PayPal Payments Standard
- paypal link customization for personal donation in Payflow