#rbole
1 messages · Page 1 of 1 (latest)
Take a look at: https://stripe.com/docs/billing/testing/test-clocks
thanks I know this document, but what I does not understand is, on which time I have to set the clock for the next payment ?
So you can look at the subscription's billing cycle anchor: https://stripe.com/docs/api/subscriptions/object#subscription_object-billing_cycle_anchor. That's the time that you will be invoiced every billing cycle. So, you can advance time past that timestamp
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok thanks I will try
I did this, but I have only a new draft invoice but the payment is missing ?
Unhandled event type invoice.upcoming
Unhandled event type invoice.created
Unhandled event type customer.subscription.updated
Unhandled event type test_helpers.test_clock.ready