Null purchase_units
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using my sandbox I set up an order and go through the PayPal payment portal, pay, read the orderId and then fetch the order info using the orderId and the accessToken. But the payment_details always come up null.
The client side script which works fine. I can fetch the order with the returned ID but it only has a few fields populated. I also set the 'Prefer' header to "return=representation" to try and coax it to fill out the returned order data. I've tried using both V1 and V2 API. ("sandbox_url_here/v2/checkout/orders/id_here"). Does anyone know what I am missing?
- Labels:
-
Payments REST APIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm going to forget about this because for my needs a simple validation by order id is enough to complete the sale.
Closed.
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
- Paypal Payment Error - DCC_PREPROCESSOR_ERROR in SDKs
- How to redirect user to paypal checkout form for card payment? in PayPal Payments Standard
- Getting an error when trying to create an order. in REST APIs
- Payment not automatically being captured, funds not transferred in Sandbox Environment