#Лена

1 messages · Page 1 of 1 (latest)

sharp peakBOT
plain mural
#

hi! us_bank_acccount can only be used to accept a payment in USD, and can only be used by US merchants.
sepa_debit can only be used to accept a payment in EUR, and can be used by merchants in most countries Stripe supports.

#

so it's impossible to have a single CheckoutSession that would accept both options.

worthy spear
#

I meant a bit different in my question. There is a platform that provides subscriptions to some services. All prices are in usd. EU based customer with account in eu bank is buing subscription. So payment type is supposed to be us_bank_acccount? Ia getting lost at this moment

plain mural
#

which is something only a customer in the US with a US bank account would know about/be able to use

#

a customer in the EU with an EU bank account would use SEPA instead

#

what you probably want to do is detect or ask the customer their location/preferred payment method before creating and redirecting to the CheckoutSession, and based on that, create the CheckoutSession with either us_bank_account or sepa_debit in payment_method_types
Note also that SEPA Debt payments can only be in EUR, you can not use USD. So that's also why you have to decide this before creating the CheckoutSession, so you can pass the right parameters.

worthy spear
#

ok, i get this

#

and one more question. customer`s currency can not be changed, so if once it is set to eur it gets impossible ever for this customer to make payment in usd, right?

plain mural
#

the customer currency only matters for subscription and invoice payments

#

so if you're not using subscriptions and just doing one-off payments, then it doesn't matter, you can charge the same customer in multiple currencies

worthy spear
#

i am using subscriptions, and i saw error about currency, so that's where this question comes from

plain mural
#

then yes, all subscription payments for a customer can only be in that customer's default currency