#ema6551_api

1 messages ยท Page 1 of 1 (latest)

stray gyroBOT
#

๐Ÿ‘‹ 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/1215259319260549120

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

peak tuskBOT
quick swallow
minor marlin
#

why i can expire the session ?

#

I'll send you a video of what I would like to do.

#

Inside this I'll show you what I would like to do.
The test user initially authorized a payment of 213 euros. Subsequently, for some reason, the administrator will only have to charge 100 euros and no longer all 213.

How can I do this thing with bees?

quick swallow
minor marlin
#

I don't want to cancel the payment intent, but change the amount.

#

This is to give the administrator the opportunity to charge only the correct amount.
I'm creating a platform for booking some drivers.
It may happen that perhaps the user needs to make a change to the route, to cover fewer kilometres, and therefore I have to reduce the amount.

quick swallow
#

if the captured amount is less then the auth, then you can capture partial amount from the PaymentIntent

#

If the desired amount to capture is greater than the capture you need to create another Checkout Session

minor marlin
#

Ok, this is clear to me.
But why didn't it work for me?

#

Ah ok ok

#

Ok ok
I didn't put amount-capture

#

i try it

#

๐Ÿ™‚

quick swallow
#

Happy to help!