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

Add Card to CreatePaymentMethod #175

Open
hiimzimmy opened this issue Apr 28, 2021 · 1 comment
Open

Add Card to CreatePaymentMethod #175

hiimzimmy opened this issue Apr 28, 2021 · 1 comment
Labels
codegen enhancement New feature or request

Comments

@hiimzimmy
Copy link

Hey!

When trying to create a payment method with the type PaymentMethodType::Card, stripe returns "Missing required param: card". Looking into the class itself, looks like has properties for fpx, ideal, sepa and au_becs, but not card.

@arlyon arlyon added codegen enhancement New feature or request labels Apr 29, 2021
@arlyon
Copy link
Collaborator

arlyon commented Apr 29, 2021

Hey, yes, it seems that the codegen has missed the card field. Here is the relevant part in the docs:

https://stripe.com/docs/js/payment_methods/create_payment_method#stripe_create_payment_method-paymentMethodData-card

Ideally we need to figure out why that field wasn't included and add it to the codegen, happy to provide pointers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codegen enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants