get order incomplete in return_url handler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I finally have the full sequence working using the V2 (1.91. ?) REST API. But when I GET the order in my return_url handler only the order id field is populated - the rest are null and there is no 'status' field just a 'state' field (which is null).
Can anyone tell me what's going on - what I am missing? How can I tell the order was actually approved and paid?
Thanks in advance.
- Labels:
-
Payments REST APIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it looks as though the return data structure is not what the SDK defines as an 'Order'. Looking at the json returned I created an object to stream it into and read the proper values. There appears to be a disconnect between the documentation and the actual API unless there is another V2 api hidden somewhere out there...
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.