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
Describe the bug
When you are placing and order on the checkout, using X payment gateway, If the payment is reject or fails the loader waiting for the order to place, never stops and we can't notifying the user that the payment failed.
To Reproduce
Steps to reproduce the behavior:
Add a product to the cart
Go to the checkout and fill step 1 and 2
Select your payment method and make sure it fails, for example entering a wrong credit card number if you use stripe
Place the order
See the infinite loader
Expected behavior
Stop the loader and display the alert with the error. CheckoutActions already do that but this conditional is not letting the component set the alert. For some reason the component is already unmounted and the component can't update the state
Screenshots
The text was updated successfully, but these errors were encountered:
@CristianCucunuba Thanks for filing the issue!
Could you add which branch/version you use while observing that issue?
It seems like you spotted the right place, as due to my latest changes, this._isMounted is not set to true in the first place: 0ae583e#diff-9b6019bce1be1df5431a56f4a139663dL77
Fixing this right away.
However, as this should not be present in the latest v3.1.0 stable release, I'd like to clarify if you might have encountered some other issue, where the component might actually not be mounted.
Closing this now that #700 is merged and @manueldelreal confirmed that showing an error message works.
(Further context: Usually I would leave this open until the fix landed in a release, but this error should only occur in trunk but not the latest stable v3.1.0)
Type: minor
Describe the bug
When you are placing and order on the checkout, using X payment gateway, If the payment is reject or fails the loader waiting for the order to place, never stops and we can't notifying the user that the payment failed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Stop the loader and display the alert with the error. CheckoutActions already do that but this conditional is not letting the component set the alert. For some reason the component is already unmounted and the component can't update the state
Screenshots
The text was updated successfully, but these errors were encountered: