#bachir_api

1 messages ยท Page 1 of 1 (latest)

tight grailBOT
granite ridgeBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

tight grailBOT
#

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

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

granite ridgeBOT
sleek delta
#

Hi ๐Ÿ‘‹ I believe you're able to update the amount of the Payment Intent and can confirm it again, but I may be mistaken.

What is your desired outcome here? You can under capture and capture less of the payment than you authorized.

rigid idol
#

I believe you're able to update the amount of the Payment Intent and can confirm it again, but I may be mistaken.
I'll give this a try, thanks

What is your desired outcome here? You can under capture and capture less of the payment than you authorized.
We want to make sure to release as fast as possible to avoid blocking people's money when not needed anymore - for example when people are outbid in an auction - as this is intended for auctions with involve fairly large amounts for extended periods (~ 2 weeks).

sleek delta
#

Gotcha, if they're outbid you cancel the intent to release all the funds from it. I'm not sure if there is a way to partially release those already authorized funds, I'll try to poke at that a bit more.

rigid idol
#

The thing is here we want to explore the possibility to allow multiple bids on different items using only one payment intent, to ease the checkout flow.

#

So I'm assessing the complications it might arise and if it is feasible

#

That's why here we can't cancel the payment intent when getting outbid on one item, because the PI might still be used for another item.

granite ridgeBOT
oblique prawn
#

๐Ÿ‘‹ stepping in

#

You won't be able to confirm a PaymentIntent again that has already been successfully confirmed.

#

There isn't really a way to do this without simply waiting to confirm the PaymentIntent until you know the amount you want to authorize.

rigid idol
#

hey,

alright so it seems that in our use case it won't be possible to partially release an amount.

oblique prawn
#

Sure you can do that on capture

#

If you use auth & capture

#

But the issue here is that you can't then re-confirm that same PaymentIntent with a different PaymentMethod or for a different amount

#

So basically your idea of using the same PaymentIntent here doesn't work.

rigid idol
#

ah ! no it's fine i dont want to update the payment method or anything, I just change to make sure that if I initially authorized 1000$, but now we'd only need 750$ to hold, we can safely release 250$ to you without having to cancel the PI and redo the same flow.

oblique prawn
#

Oh yes that is what the above does

#

So yeah then that works just fine