cancel
Showing results for 
Search instead for 
Did you mean: 

conditional Return URL variable

Options
tvhs
New Community Member
Posted on

Hi,

When creating a Pay Now button, is it possible to set a return URL dependent on the price selected in the price drop down?

For example:

If £100 is chosen then after payment return to page XYZ

If £200 is chosen then after payment return to page ABC 

 

thanks

 

1 REPLY 1

conditional Return URL variable

Options
Gabriel_PP
PayPal Employee

Hi @tvhs 

 

Thanks for using our community PayPal forum,

 

Unfortunately, using the same button, this is not possible. You would have to create 2 separate buttons and set up different return URLs, apologies.

Ref:https://developer.paypal.com/docs/paypal-payments-standard/integration-guide/Appx-websitestandard-ht...

 

returnOptional

The URL to which PayPal redirects buyers' browser after they complete their payments. For example, specify a URL on your site that displays a thank you for your payment pag

Thanks,

Haven't Found your Answer?

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