Skip to content
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

Check if $intent->last_payment_error->source exists #2624

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

glagonikas
Copy link

Fixes #2615

Changes proposed in this Pull Request:

Testing instructions

Set up a vanilla installation of Woo and Stripe.
Ensure debug is enabled and logging to debug.log.
Before merging those changes, and while in test mode use cards 4000000000003220 or 4000000000003063, and when the 3ds modal comes up fail the validation.
That will result in a payment intent response from the API with an last_payment_error object that does not contain the source. Check debug.log.

Try the above after merging the proposed changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WC_Stripe_API::detach_payment_method_from_customer() must be of the type string, null given
1 participant