Sunday, 2 April 2017

How to get the order Id with Paypal SDK

I try to use Paypal node js SDK to create an order, but the can not find Order Id in the response. The response only include an payment ID.

{ "id": "PAY-34629814WL663112AKEE3AWQ", "create_time": "2017-01-30T23:44:26Z", "update_time": "2017-01-30T23:44:28Z", "state": "created", "intent": "order", ... } I search the example https://developer.paypal.com/docs/integration/direct/payments/orders/#get-customer-approval, also can not find any clue to retrive order ID.



via guang chen

No comments:

Post a Comment