#edutomesco

1 messages · Page 1 of 1 (latest)

crimson galleonBOT
sick prism
#

Hi there, so you want to get notified when the invoice is paid successfully?

next idol
#

yes

#

actually

sick prism
#

You can listen to invoice.paid event then.

next idol
#

I want to know

#

when the subscription change the cycle

#

I think the subscription can change the cycle but the invoice could take some time to be paid

#

in case for example of SEPA payments

#

so when the metered usage renews, I need to know that in that exact moment

sick prism
next idol
#

Exactly when usage prices renew?

sick prism
#

No, it happens x number days before the renewal depends on your settings.

next idol
#

But the NExtPeriodStart field of a subscription

#

is the exactly timestamp when the subscription will renew isn't it?

next idol
sick prism
#

I think you are referring to current_period_end. This timestamp equals to the current_period_start of the upcoming period of the new cycle.

next idol
#

Okey thanks

next idol
sick prism
next idol
sick prism
next idol
#

this is for the invoice.upcoming webhook no?

sick prism
#

Yes. This is for invoice.upcoming.

next idol
#

Thanks