I am getting an "Uncaught Error: Expected an order id to be passed" back even though I see an id being returned, and there are no errors in the event log for the Paypal sandbox request that was made. JS return from createOrder: ack true data Object { id : "4R111128JP953492S" } id "4R111128JP953492S" Corresponding event log entry: 11 Ma[Removed. Phone #s not permitted]/td> 201 OK 1ee5fb9ac41c3 POST /v2/checkout/orders Here is the JSON data packet sent: { "application_context": { "cancel_url": "", "return_url": "", "user_action": "PAY_NOW" }, "intent": "CAPTURE", "purchase_units": [ { "amount": { "breakdown": { "discount": { "currency_code": "USD", "value": "0.00" }, "item_total": { "currency_code": "USD", "value": "25.00" }, "shipping": { "currency_code": "USD", "value": "6.43" }, "tax_total": { "currency_code": "USD", "value": "1.50" } }, "currency_code": "USD", "value": "32.93" }, "description": "Test Business", "invoice_id": "353781", "items": [ { "name": "Eagle Premier 25 Tooth Odometer Gear", "quantity": "1", "unit_amount": { "currency_code": "USD", "value": "25.00" } } ] } ] } And the response: { "id" : "4R111128JP953492S" , "links" : [ { "href" : "https://api.sandbox.paypal.com/v2/checkout/orders/4R111128JP953492S" , "method" : "GET" , "rel" : "self" } , { "href" : "https://www.sandbox.paypal.com/checkoutnow?token=4R111128JP953492S" , "method" : "GET" , "rel" : "approve" } , { "href" : "https://api.sandbox.paypal.com/v2/checkout/orders/4R111128JP953492S" , "method" : "PATCH" , "rel" : "update" } , { "href" : "https://api.sandbox.paypal.com/v2/checkout/orders/4R111128JP953492S/capture" , "method" : "POST" , "rel" : "capture" } ] , "status" : "CREATED" }
... View more