#calexandre_best-practices

1 messages ¡ Page 1 of 1 (latest)

stiff vaultBOT
#

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

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

long kettle
#

hi there!

languid agate
#

We're trying to achieve something like this

#

Hi!

long kettle
#

we don't know anything about the Flutter SDK, since it wasn't built by Stripe. if you have questions about that SDK, you should ask it directly on the github repo.

languid agate
#

What about the flow with the stripe api directly?

#

How could we achieve this? Is there any way to send the pending amount at the payment setup intent?

#

After that we could manage to present it with apple pay ourselves

long kettle
#

we create a setup intent and then a payment intent and cancel that payment intent and create a new if amount is higher after the ride is completed.
note that we have a feature that allows you to increase the amount of an existing PaymentIntent, but this is only available to merachant on IC+ pricing: https://docs.stripe.com/payments/incremental-authorization

languid agate
#

Isn't there any other way around?

long kettle
#

Is there any way to send the pending amount at the payment setup intent?
not on the SetupIntent itself no. there's maybe a way on the frontend when you initialize the PaymentSheet. having a look.

#

We're trying to achieve something like this
I don't really understand that screenshot since it's not in english. you want to show "Pending amount" on the payment sheet itself?

languid agate
#

Yes

#

"Importe pendinte" is "Pending amount"