#martin_40850
1 messages ยท Page 1 of 1 (latest)
If you want to finalize immediately instead of wait for stripe to do that automatically, you should call this endpoint: https://stripe.com/docs/api/invoices/finalize
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi @red plank , thanks for the quick response, yeah that's actually what I am doing in the third statement ๐
If you finalize immediately there shouldn't be an hour delay
Can you send the id of an invoice where you saw this behavior?
in_1NtEk9KhxtHBuZpcr2PUwS1y
Interesting. Let me ask a colleague
Hello! I'm taking over and catching up...
Sorry for the delay. In order to trigger payment on an Invoice like this and bypass the hour delay you need to explicitly call /pay on it: https://stripe.com/docs/api/invoices/pay
Finalizing it is not sufficient to trigger payment.