#varshid-shekhat_code

1 messages · Page 1 of 1 (latest)

crimson bluffBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1463050721204371539

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

rich terrace
#

My scenarios is

Our current approach is:

The base payment amount is £12.00

We create one PaymentIntent with a maximum amount, for example £12.38

At payment time, we check the card type:

If the user uses an international card, we charge £12.38

If the user uses a non-international (domestic) card, we charge a lower amount, e.g. £12.30

So effectively, the PaymentIntent is created with the higher amount, but the final charged amount may be slightly lower depending on the card used.

Could you please confirm:

Is it valid to create a PaymentIntent with a higher amount and then capture a lower amount at confirmation time?

Or should the PaymentIntent always be created with the exact final amount, meaning we would need to calculate the fee first and then create (or recreate) the intent accordingly?

fluid plaza
rich terrace
#

Is my flow is correct?

fluid plaza
#

The flow you mention above is achievable