#idhruv
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
then If thehost forgets to accept, then it should auto decline
okay taking a look, one moment plz
you can't choose the timeline, usually for cards it's a 7 day margin
okay, and what exactly it means? didn't get the 7 day margin
okay got it, now as per this doc if we are creating the payment_intent to authorize the money and charge it later, do we need to store it in db? so that later we can use it to capture the funds when host accepts the booking from user. is this flow correct?
yes correct
okay but isnt that illegal, like storing the PI in db
you just need the PI id
and another question, let's say that host rejects the booking request, then how can we manually release the fund instead of waiting 7 days for auto release?
or you can do something different
you can store some metadata on the PI itself
and search for the PI by metadata
ohh
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
got it, can you please review this situation too?
got it, thanks