#Att89-PaymentMethod
1 messages ยท Page 1 of 1 (latest)
Hi there, when you create the payment intent, you can specify the payment_method_types (https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_types) that this payment intent allows to use.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes, I know and use that already, thank you. But I mean really the location, as far as know, only sepa_debit is guaranteed european, a card could be from everywhere from the world.
We are a small start-up and for the beginning working only in austria, for this reason we want to make sure, that the stripe fee is always 1,4% and 25ct per transaction.
Can you elaborate more on the requirements? do you want to remove the card payment method and allows sepa_debit only?
No, we would allow card and sepa_debit for the beginning. But if possible only from countries of the european union no matter, which type of payment method it is. If this is even possible.
In other words, you only want to accept cards issued from EU countries, am I right?
Yes ๐
Got it. You need to use card element in this case. call stripe.createPaymentMethod(https://stripe.com/docs/js/payment_methods/create_payment_method) to get the card payment method details. From there you can know the card country (https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-country)
This is what I was looking for. Thank you so much!
Welcome! Happy to help.