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

Fix Apple Pay token not working with PaymentMethod #1161

Merged
merged 2 commits into from
Apr 17, 2019

Conversation

yuki-stripe
Copy link
Collaborator

@yuki-stripe yuki-stripe commented Apr 17, 2019

Summary

https://stripe.com/docs/api/payment_methods/create#create_payment_method-card errors if passed 0 valued month and year parameters. For Apple Pay, these were 0.

Motivation

Apple Pay payment method creation was failing

Testing

I repro'd the error before the fix. Apple Pay succeeds now.

@yuki-stripe yuki-stripe merged commit 446df66 into master Apr 17, 2019
@yuki-stripe yuki-stripe deleted the yuki-fix-apple-pay-payment-method branch April 17, 2019 17:11
ramont-stripe pushed a commit that referenced this pull request Jun 6, 2022
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.

3 participants