#caiotmello_api

1 messages ¡ Page 1 of 1 (latest)

soft sinewBOT
#

👋 Welcome to your new thread!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!

🔗 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/1212227431130464386

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

⏲️ 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. Thank you for your patience!

halcyon shore
#

hello! what's Payment Checkout (On My App)?

subtle spoke
#

From my app , I want to redirect the user to this checkout page

#

But I would like to link this checkout to an existing invoice

halcyon shore
#

Checkout is an entirely different flow, it cannot be used to pay a pre-existing invoice. It sounds to me that what you actually want is a post payment invoice. If that's the case, you can use Checkout Sessions to collect payment instead, and generate a post payment invoice : https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-invoice_creation

subtle spoke
#

Ooh ok ... it is clear for me now. It is not possible to pay an pre-existing invoice.

#

Thanks for the answer

halcyon shore
#

if you want a hosted page for the customer to pay

#

Invoices already has that

#

why do you want to use the Checkout page?

subtle spoke
#

It because my customer wants to create the invoice manual on stripe

#

And if the user do not pay the invoice until the due date... I need to redirect him to the stripe web site to pay the bill when he tries to open the app

halcyon shore
subtle spoke
#

Is it not possible to pay the invoice through this invoice url and be redirect to my app again after the payment?

halcyon shore
#

no, if you pay that invoice through that invoice url, it's not possible to be redirected to your app again after the payment