Sending customers orderID with transaction --> REST API
bidmore
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Mar-30-2018
06:18 AM
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?
1 REPLY 1

Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr-03-2018
12:49 AM
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.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Shopify PayPal integration, customer authorized multiple times in PayPal Payments Standard
- How can I display the bill number and customize it in the transaction record in REST APIs
- ExpressCheckout to REST API - Is Partner Program Now Required to Host Simple 3rd Party Transactions? in REST APIs
- Payment Authorization Error in PayPal Payments Standard
- If I don't capture within the 3 hour limit, how can I be sure that the payment went through? in REST APIs