Get info of payment requesting web page

ansari_mhtq
New Community Member

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.

Login to Me Too
1 REPLY 1

MTS_Andre
Moderator
Moderator

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.

 

 

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.