- Issue created by @beloglazov91
- Merge request !10Avoid error logs for the cases when payment was rejected by expected reasons. → (Open) created by beloglazov91
The entrypoint `/commerce/payment/capture/` adds an error log for the cases when the payment has been cancelled without any real error, which could include the following reasons (based on "commerce_decoupled_stripe" module):
- The payment has been cancelled by user
- The payment has expired
- The payment is not (yet) succeeded
It clogs the logs and if rollbar module is enabled, it creates an error notifiation there, what is not necessary, because no real problem there.
Avoid creating error logs for "Drupal\commerce_payment\Exception\DeclineException" errors.
Active
1.5
Code