I created a payment gateway for Commerce 2. When I try to make a payment, an error happens and the flash error I get is this "Invalid payment or order. Please review.". I don't know if my gateway is returning the error or Craft. How do I know what is the error especifically?


On the Transactions tab of the order, there should be a payment attempt with a failed status. There's a small information icon which returns the gateway response.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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