We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
stripe-ruby-mock/lib/stripe_mock/data.rb
Line 1260 in b954c59
`last4: params.dig(:card, :number)&. || '3155',
should be
last4: params.dig(:card, :last4)&. || '3155',`
The text was updated successfully, but these errors were encountered:
Why? card.number is a supported parameter of the API, card.last4 is not https://stripe.com/docs/api/payment_methods/create
card.number
card.last4
Sorry, something went wrong.
No branches or pull requests
stripe-ruby-mock/lib/stripe_mock/data.rb
Line 1260 in b954c59
`last4: params.dig(:card, :number)&. || '3155',
should be
last4: params.dig(:card, :last4)&. || '3155',`
The text was updated successfully, but these errors were encountered: