#hypertextmike
1 messages ยท Page 1 of 1 (latest)
Hi there! Could you share which doc you're referencing in particular?
type is required for createPaymentMethod: https://stripe.com/docs/js/payment_methods/create_payment_method#stripe_create_payment_method-paymentMethodData-type
ah, right below what I was looking at ๐
Can you share the full error you're getting, as well as the code you have for creating your Elements instance?
Yep, 1 minute
Here's a rough gist with the relevant parts https://gist.github.com/gauthierm/b40b7062e9c8216f07acb2748de72463
which guide are you following @prime edge ?
Oh, I found this!
paymentMethodCreation 'manual'
Used with the Payment Element.
Allows PaymentMethods to be created from the Elements instance using stripe.createPaymentMethod.
yeah you're missing this from https://stripe.com/docs/payments/build-a-two-step-confirmation#web-collect-payment-details
Thanks! I'm partially following https://stripe.com/docs/payments/payment-intents/migration-synchronous but want to support more than just credit-cards in the future.
yeah that guide explicitly passes the right type on createPaymentMethod
This is fantastic, thanks for your help and patience. Have a great weekend ๐