#redpanda-savecard

1 messages · Page 1 of 1 (latest)

grim cloud
weary nest
#
  1. 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_types or just put everything I need in there?
grim cloud
#

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.