Pass custom data to express checkout url?

sqzr
Contributor
Contributor

Hello 

 

Is it possible to pass custom data to the express checkout url and have it returned to me? My usecase is better explained below:

 

sqzr_0-1674443957145.png

I am using the NVP API. I have my SetExpressCheckout working and can get a token back. But I'm not sure how to pass my custom variables to the Paypal express checkout page and get it returned to my checkout page after

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

Good day @sqzr,

 

Thank you for posting to the PayPal community.

 

You can try passing the “PAYMENTREQUEST_n_CUSTOM” in the SetExpressCheckout request.

 

https://developer.paypal.com/api/nvp-soap/set-express-checkout-nvp/#link-paymentdetailstypefields 

 

https://developer.paypal.com/docs/archive/express-checkout/ec-initiate-payment/#link-passlineitemsin...

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

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.