Sending customers orderID with transaction --> REST API

bidmore
New Community Member

Hello,

I'm looking for an answer to my question:

 

If we (Webshop) connect to PayPal through API. Can I send the ID of the customers order with the transaction and will the PayPal API pick up this data so it can be presented to the accounts owner?

Login to Me Too
1 REPLY 1

MTS_Andre
Moderator
Moderator

Hi, what you could do is passing a variable with the value of the orderID. The variable is:

 

1) for REST APIs, "custom" that must be passed inside the transaction object

2) for classic NVP APIs, "PAYMENTREQUEST_n_CUSTOM", to pass into the SetExpressCheckout API call

 

Once you pass this variable you will have the value available in your integration.

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.