#redpanda-savecard
1 messages · Page 1 of 1 (latest)
1/ yes you would use SetupIntents to save payment methods. The client secret will work depending on what payment_method_types you passed when creating the SetupIntent. https://stripe.com/docs/api/setup_intents/create#create_setup_intent-payment_method_types
2/ not really no, you can just ignore ones that don't complete.
3/ I'd suggest asking https://support.stripe.com/email, can't talk about this here
- I've been taking a look at services online and they usually seem to set up payment methods individually. Is it better to do it that way and narrow down
payment_method_typesor just put everything I need in there?
it's really up to you and what methods you accept and have built the UI for! They're all slightly different , i.e. for Cards you have to create a Card Element for accepting card details and call confirmCardSetup in stripe.js, for SEPA Debit you create an IBANElement for accepting bank details and call confirmSepaDebitSetup.
but the same SetupIntent client secret would work for both if it has payment_method_types:["card", "sepa_debit"] and you could present both UIs on your page and dynamically call the right function and do everything client side, or something else, whatever works for you.