Get info of payment requesting web page
ansari_mhtq
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Aug-11-2020
11:24 PM
I have two web pages with link to the paypal payment page. Is there any way to detect from which page is the user redirected to the paypal payment page.
1 REPLY 1
MTS_Andre
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug-12-2020
08:31 AM
Hi Ansari_mhtq, imaging you are using REST v1.payments you can set into the website1 PayPal button the variable "custom" with some like this custom = "redirected from website1", while on website2 your PayPal REST button will pass custom = "call by website2". The custom variable is to pass into the transaction object like in our dev docs here.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Button in PayPal Payments Standard
- Need help to integrate PayPal Checkout with Ecwid in PayPal Upgrade Community
- Change the button from Sandbox to Production in REST APIs
- Thank you page after payment with paypal buttons in PayPal Payments Standard
- Webhook notifications are not being sent to my server in REST APIs