#manuel_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1255110221664223234
đ Have more to share? Add details, code, screenshots, videos, etc. below.
How are you accepting the Payment ? using Stripe? if so what product ?
But in gerenal you can mark an invoice paid our of brand following this support article:
https://support.stripe.com/questions/marking-an-invoice-paid-out-of-band
I am doing the payment throw a pament intent and when i know the payment is correct and the user request an invoice throw the app I generate it
But for do this I have to enter in all invoice throw the dashboard and put it, i can't do in code when i generate it?
In that case, why not creating the invoice first, use it's payment_intent to charge the customer (like you are doing currently). Once the payment occurs, the invoice is marked as paid automatically.
This quickstart is a good starting point: https://docs.stripe.com/invoicing/integration/quickstart
Okey, thanks
But in that way the user have to pay via invoice, it can't pay throw de payment sheet in the app like i have now?
Sure it can. Once the invoice is finalized it'll generate a Payment Intent which you can use to initialise the sheet like you do now
No, you can use the PaymentIntent of the invoice like one created directly via the API
So, i have to use the payment intent that the invoice give me
Yes, that's the only way to have an invoice with a one-time payment. You can't attach an intent to an invoice post payment