You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's your proposed solution?
It would be good to implement the craft\commerce\base\RequestResponseInterface same as how Commerce Stripe Implement returned errors
The text was updated successfully, but these errors were encountered:
Thanks for taking a look at this, but respectfully, an eCommerce site throwing a Internal Server error on a card decline is not an enhancement, it's a critical issue. This is what our customers are seeing on card declines, which can happen for something as simple as a typo during checkout or hitting PayPal fraud protection.
PayPal in particular takes a very aggressive stance on fraud protection (as they should) and card declines are not uncommon at all. A card decline should not crash an eCommerce platform.
Note also that when this happens the customers cart is cleared. Also a critical issue.
We have just pushed up an update that will fix this issue. Error messages from the API will now be returned and the user will be redirected to the payment page.
This update will be included in the next release of the plugin.
What are you trying to do?
When PayPal encounters an error when submitting the payment request it throws PaymentException (
commerce-paypal-checkout/src/gateways/Gateway.php
Line 401 in 37fadcf
What's your proposed solution?
It would be good to implement the
craft\commerce\base\RequestResponseInterface
same as how Commerce Stripe Implement returned errorsThe text was updated successfully, but these errors were encountered: