#weellingtonc
1 messages ยท Page 1 of 1 (latest)
Hello ๐
I believe you should be able to test this using test clocks
You can set collection_method: send_invoice and fast forward the clock
https://stripe.com/docs/api/subscriptions/object#:~:text=If subscription collection_method%3Dsend_invoice,pay their closed invoices.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hello @spring bear , how are you? I didn't quite understand the context of the "test clock", I already defined it as send_invoice, now I create an invoice for this signature and then apply the test clock to a date ahead of the time that the invoice will expire?