PayPal JSON Response Object Transaction ID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I'm developing a Javascript / PHP / REST API and want to double check on the Transaction ID length. In most of the documentation it is stated that the JSON Response Object Transaction ID for a completed transaction is a unique 17 character string, however, the orderID is 19 characters long. The documentation states, "A valid transaction ID is 17 characters long, except for an order ID, which is 19 characters long." When I run tests, the order ID that is produced by PayPal and included in my URL (for the PHP processing page) is the same 17 character string as the transaction ID.
As this must be inserted into the database a sudden change in character length can cause problems. Are the transaction ID and the order ID always one and the same? Will they differ in certain situations? Getting clarity on this will be helpful. Thanks a bunch for the assistance!
Cheers,
Othello2
- Labels:
-
Payments REST APIs

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Advanced checkout and no 3DS information in the response in REST APIs
- ExpressCheckout to REST API - Is Partner Program Now Required to Host Simple 3rd Party Transactions? in REST APIs
- Compliance violation. flag based on the account origin ? in Sandbox Environment
- Cant get mobile number from details. object even though my paypal button mandates submission in Sandbox Environment
- PayPal Redirection Issue After Successful Payment in Photobooth Integration in Sandbox Environment