You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
finding in the API documentation i found the right url is "https://api.sandbox.paypal.com/v1/checkout/orders/8SC68793353299025" the difference evidently is "payments" --- "checkout" so I gone to the document "lib/PayPal/Api/Order.php" on the line 377 and change it to $json = self::executeCall( "/v1/checkout/orders/$orderId", "GET", $payLoad, null, $apiContext, $restCall ); and it works, now I can get the orders created from the JS SDK, there are another lines where you need change the path (403, 427 and 452).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
General information
PayPal-Debug-ID
values:Issue description
I got "Got Http response code 404 when accessing https://api.sandbox.paypal.com/v1/payments/orders/60355843MY413270N."
$result = \PayPal\Api\Order::get($orderID, $apiContext);
finding in the API documentation i found the right url is "https://api.sandbox.paypal.com/v1/checkout/orders/8SC68793353299025" the difference evidently is "payments" --- "checkout" so I gone to the document "lib/PayPal/Api/Order.php" on the line 377 and change it to
$json = self::executeCall( "/v1/checkout/orders/$orderId", "GET", $payLoad, null, $apiContext, $restCall );
and it works, now I can get the orders created from the JS SDK, there are another lines where you need change the path (403, 427 and 452).The text was updated successfully, but these errors were encountered: