#charaktarrr_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/1393207772753170434
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
Thanks.
Nice to meet you @sour shale .
I am going to integrate stripe payment in our website.
And Need to enable bank transfer option.
@slender warren this is @tepid abyss 's thread
please stop entering other people's threads
sorry
click on API in #dev-help and enter what you need as information
@tepid abyss you should wait before finalizing the invoice to be able to stay in draft status
to attach a paymentIntent the status needs to be "open", I can't attach in "draft"
yes you're right, sorry my bad
I couldn't manage to get a Invoice into "open" via API. Feels like I tried everything ๐
I think the easiest would be to set auto_advance to false https://docs.stripe.com/api/invoices/update#update_invoice-auto_advance
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
but let me test that first
to make sure it works as expected in this scenario
I just tried, It still goes to "paid" right away
I have the shell ready anytime ๐
did you update before finalizing?
no, I created the invoice with "auto_advance":false, the value is correct in the response
let me try to set the parameter "auto_advance" on finalizing explicitly
yes you're right
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
it should be done in the finalization
even stripe invoices finalize_invoice in_1RjgL0Pt62ypWkCOKNwYgaib --auto-advance=false will go to "paid" right away
what's the request ID?
req_QGQO4GWbHO2c1J
this seems a bit odd
oh yeah
I didn't see that ๐ฆ
sorry I missed it
because the invoice doesn't really need payment
ok, let me try
I created a invoice, added a item with amount 1, same behavior ๐ฆ
req_bADaSpXBaXFE2E
the amount should be more than 50 cents
otherwise it will be considered as paid automatically
so the total should be 100 instead of 1