cancel
Showing results for 
Search instead for 
Did you mean: 

get order incomplete in return_url handler

Contributor

get order incomplete in return_url handler

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.

 

1 REPLY 1
Contributor

Re: get order incomplete in return_url handler

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...