#josh-parkbooker_best-practices

1 messages ¡ Page 1 of 1 (latest)

lapis aspenBOT
#

👋 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/1273149779613847574

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

iron kindle
sterile rover
#

Hey @iron kindle - having a look at that, I'm not sure it will quite work due to the authorisation validity windows? We may have scenario as follows:

  • Customer places booking for a room with a total cost of $450.
  • At time of booking, we take a deposit payment of $150
  • Later on (could be up to 11 months later), once their booking passes a cancellation window, we trigger balance payment of $350

Will place and hold flow work for that or will we need something else?

iron kindle
#

Umm you have like 11 months window for capture?

#

I am afraid we don't have anything can hold an authorization that long. But generally you can still do a SetupIntent first, then 11 months later attempt a PaymentIntent. SetupIntent doesn't guaratee the sufficient fund, but can validate the card / payment method validity at that time

sterile rover
#

We wouldnd't need to authorise the whole amount up front

#

We would just need to - authorise and capture deposit, then at a later date, trigger authorise and capture of payment of balance, does that make sense?

#

So I'm guessing what you're saying with setupintent then payment intent is what we should do?

iron kindle
#

It is what I meant, but SetupIntent doesn't guarantee the whole amount. It's to only validate the card. What you describe is exactly Place and Hold but unfortunately we don't support that long window

sterile rover
#

That's ok if the amount isn't guaranteed

#

We just need to be able to attempt the balance payment at a later date

iron kindle
#

Yes so you can try that SetupIntent flow

sterile rover
#

Ok ocol

#

And just one final question - would multicapture have solved for what I want to do? Or is it not relevant anyway?

iron kindle
#

It's for breakdown the amount to capture, says you auth 100$ and then capture 5 times, $20 each. It's kinda different

sterile rover
#

Ah I see

#

Ok thanks @iron kindle - really appreciate your help