I want to log error on payment fails on checkout page but I can not find the way to where I can log the error message for all the payment method?

For example:

1) I selected the PayPal payment method and press continue button at that time it returns a message like that.

enter image description here

I want to log this type of error message on save payment.

I have tried savePaymentAction but I can not find it there.

Is there any event or method where can I log it?

Help would be greatly appreciated.

| improve this question | | | | |
  • 1
    try failure.phtml or failure event or dispatch event for failure. – kunj Aug 24 '18 at 10:28

Your Answer

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

Browse other questions tagged or ask your own question.