#sqooby_api
1 messages ¡ Page 1 of 1 (latest)
đ 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/1293551068671905793
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
Hello
you should first create an Invoice, and it will automatically contain a PaymentIntent
yes
case is that i want user to stay in app, and make payment with paymentIntent and then. just link this payment intent to invoces
so u say that this is possible
right?
- create & finalize the invoice
- get the PaymentIntent inside the Invoice, and use the Payment Element to let the customer pay
you could also use the Hosted Invoice Page to let the user pay if needed.
there might be one issue with this
in Dashboard when i created invoices automaticlly i should pay all amout, then i created paymentIntent to pay this invoice which also display in dashboard
so for example when product cost 20$
dont i have40$ total in dashboard in transaction?
but you should NOT create a PaymentIntent
only create an invoice
and the invoice itself will contain a PaymentIntent for the total amount of the invoice.
Okey i get it
Thanks a lot
i got one more question
when invoices has parameter
paid_out_of_band: true
this invoices shoud be paid
which is obvious
how pdf should looks like?
cuz right know i made some invoices with this parameter
and on pdf it says that i should pay once more
but invoices in dashboard has status paid
invoices id: in_1Q7vctGZoi1Nxyrlm0tFZW1E
that's normal. once an inoice pdf is created, it can no longer be edited for legal reasons.