#snovov
1 messages · Page 1 of 1 (latest)
no i'm not, is that a prop that's needed for the PaymentElement?
No, it's set in payment_method_types property when you create the PaymentIntent. https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_types
Could you please share an example Subscription ID?
i see that payment_method_types is available when creating a new subscription here in the docs - https://stripe.com/docs/api/subscriptions/create#create_subscription-payment_settings-payment_method_types
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
is this an array of strings?
Yes.
i don't see apple pay or google pay in the list of available enums. how would i go about adding these payment methods?
It's a part of card.
awesome thank you
Btw, you can disable US bank account in your Dashboard: https://dashboard.stripe.com/settings/payment_methods
Happy to help. Please, let me know if you have any other questions.
i do have this disabled but it was still showing in my UI which is why i was confused
This might have been the Test mode behaviour. If you use payment_method_types or automatic_payment_methods (recommended) in Live mode, this shouldn't be happening.
yes i can confirm that with that argument and the provided options it no longer shows us bank account as an option
thank you again for your help
Nice!