Describe the bug
Using endpoints to Authorize or Capture is getting this error:
{
"code": "rest_no_route",
"message": "No route was found matching the URL and request method.",
"data": {
"status": 404
}
}
To Reproduce
Steps to reproduce the behavior:
Setup Amazon Pay option "Payment Capture" to "Don't Authorize the payment..." and Save
Update Woocommerce to the latest version 9.0 or later
On an incognito with a guest or logged user purchase a product with Amazon Pay
With Postman or other tool, execute the POST request enpoint to Authorize the order
{{DOMAIN}}wp-json/wc/v1/orders/{{ORDERID}}/amazon-payments-advanced/authorize
Expected behavior
Amazon Pay enpoint should work without problem
Isolating the problem (mark completed items with an [x]):
[x] I have deactivated other plugins and confirmed this bug occurs when only the extension is active.
[x] I can reproduce this bug consistently using the steps above.
Describe the bug Using endpoints to Authorize or Capture is getting this error:
To Reproduce Steps to reproduce the behavior:
{{DOMAIN}}wp-json/wc/v1/orders/{{ORDERID}}/amazon-payments-advanced/authorize
Expected behavior Amazon Pay enpoint should work without problem
Isolating the problem (mark completed items with an [x]):