-
-
Notifications
You must be signed in to change notification settings - Fork 342
[Stripe][FIX] LogicException when card is declined #801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@BadPixxel Thank for the contribution. Could you please add a test? |
Let try! I'll update the existing test that set Status as failed as it's now unused |
Look like tests are now OK. |
Hi @makasim, Any reason not to merge this? |
See #854 |
@BadPixxel If you are up to finishing this one, can you please rebase against master? That should fix the Twig deprecation notices and make the build green |
@pierredup no problem I'll do that. |
ffa0fb8
to
8e64f8a
Compare
With Stripe, if "save_card" is requested but card is declined, CreateCustomer fails and both $model['card'] && $model['customer'] are unset. Fix => keep card unchanged if CreateCustomer fails and move forward
With Stripe, if "save_card" is requested but card is declined, CreateCustomer fails and both $model['card'] && $model['customer'] are unset.
Fix => keep card unchanged if CreateCustomer fails and move forward