cancel
Showing results for 
Search instead for 
Did you mean: 

Get info of payment requesting web page

Options
ansari_mhtq
New Community Member
Posted on

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

Get info of payment requesting web page

Options
MTS_Andre
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.

 

 

Haven't Found your Answer?

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