#aaparth-fees

1 messages · Page 1 of 1 (latest)

cobalt temple
#

so between that and reading our pricing page in the docs, you can write some code to know in advance what the fee will be if you want!

astral forge
#

I know about after the payment which I have used but I wanna know it before hand

#

can you point me in right direction to get fees in advance

#

as for European cards its some fees and for international cards its different

#

@cobalt temple you there mate ?

cobalt temple
#

yes

#

like I said, you can write code to calculate it in advance if needed

#

there's no API that tells you it, but it's straightforward enough to calculate it since it's static

astral forge
#

how can we know what payment method belongs to European region or international ?

cobalt temple
#

the pricing is on our site (e.g. 2.9% + 30c) , it's different for international cards, and you can confirm that by running test charges in test mode using different cards(https://stripe.com/docs/testing#international-cards) and then reverse engineer the logic

cobalt temple
#

you would have to create the PaymentMethod object pm_xx first and then look at its country field

astral forge
#

okay

cobalt temple
#

but note in most of our integrations (Checkout/PaymentElement/mobile) they work in a way where you don't see the PaymentMethod object before it's charged, so you can't really do this without changing the overall way you integrate

#

our advice is to not try to do this really. Why do you want to know the exact fees beforehand?

astral forge
#

we wants to charge the transection fees on top of our services so we wanna show the exact amount to the users

cobalt temple
astral forge
#

okay