Can I save a unique ID in paypal side like invoice_id after paypal popup closes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I need to store my applications transaction id in paypal console. I will get this transaction id only after closing the paypal popup. I hear that we can use invoice_id for this. But unfortunate invoice_id can pass only to createOrder. Is ther any option to pass this after paypal popup closes. ie in authorize call or anything. Or is there any other solution. Please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is an "Update" option available for a transaction that allows you to "add" an invoice ID after a customer approves a transaction. This can be seen in this documentation. You simply need to make a "Patch" call to that transaction to add in the invoice ID.
I hope that helps!
-Aaron
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- PAYER_ACTION_REQUIRED returned for Capture intent when calling v2 checkout orders in Sandbox Environment
- Getting this error from paypal , popup closing automatically itself when it opens in SDKs
- API - Change currency when shipping country changes in SDKs
- Capture order API v2 returning error in REST APIs
- WordPress plugin GiveWP connected with PayPal but doesn't work in PayPal Payments Standard