#Sepp
1 messages · Page 1 of 1 (latest)
Hi,
You can't detect that from Stripe APIs. Here is the available information about card PaymentMethod:
https://stripe.com/docs/api/payment_methods/object#payment_method_object-card
we are using stripe conenct transfers with the ApplicationFeeAmount. The fee was fixed till the price changes. Now we need to determine the country and the card type to calculcate the correct fee.
Whats the best practice here? Can i see "your" fee "before" the payment is confirmed?
Hi! I'm taking over this thread.
How are you accepting payments? PaymentIntent + Payment Element or something else?
yes with the payment element and PaymentIntent
Got it. Then you have two options:
- Use
capture_method: manualwhen creating the PaymentIntent. This way you can check the PaymentMethod detail, and then capture the funds with a different application_fee_amount https://stripe.com/docs/api/payment_intents/capture - Or use this integration which creates the PaymentMethod first: https://stripe.com/docs/payments/finalize-payments-on-the-server
is the "Finalize payments on the server" integration supported by all payment methods or cards only?
All payment methods.