0

Place order error 400 on /rest/english/V1/carts/mine/payment-information magento 2

http://prntscr.com/os98gp

We are facing an error on a custom checkout, which on hit place order

  • First, try, it cleans up all payment data.
  • The second try, it throws this error, and throw the card error.

Did not find anything to help. Accept any solution but upgrade Magento to further versions.

2 Answers 2

0

Have you checked in the etc/webapi.xml yet? Seems that the issue is from authorization. You didn't set permission to the client

0

vendor/magento/module-webapi/Controller/Rest/RequestValidator.php You should use xdebug to debug function checkPermissions(). As Joe replied above, you might set wrong acl in webapi.xml. Debug will help you find the right issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.