#krishnaKanabar-subscription
1 messages · Page 1 of 1 (latest)
👋 Happy to help
Let me have a check
The subscription object has current_period_end which is the timestamp when the new invoice will be created: https://stripe.com/docs/api/subscriptions/object#subscription_object-current_period_end
It shows currency subscription start date
I want next month's billing date
For example, I am on Monthly recurring plan. Aug1- Sep1 is first billing cycle. On Aug15 I want to check my next billing cycle date that is SEP 2
current_period_end is the end date of the current period, which will be the start date of next billing cycle
okay
what is the difference between 'invoice.paid' and 'invoice.payment_succeeded' webhooks
invoice.paid: Occurs whenever an invoice payment attempt succeeds or an invoice is marked as paid out-of-band.invoice.payment_succeeded: Occurs whenever an invoice payment attempt succeeds.
invoice.paid is when an invoice is paid even when it's $0 (like a trial invoice) or you mark as paid-out-of band (payment made outside of Stripe). This is regardless whether a successful payment attempt is performed
invoice.payment_succeeded is when an actual payment is performed successfully