#arsenijblokov

1 messages · Page 1 of 1 (latest)

median drumBOT
vapid latch
#
  1. is customer.subscription.created but its not specific to payment links, its any subscription creation
#
  1. could be customer.subscription.update to check the new period for example, or if you need payment details you could look at invoice.paid or even the payment events
#
  1. would be invoice.payment_failed then looking at the details
#
  1. customer.subscription.deleted
#
  1. is also customer.subscription.update and look at status
strange vine
strange vine
strange vine
#

Also i would to know how much tries of charges and with what time interval between them will be initiated within subscription after failed charge?

vapid latch
vapid latch
#

So you'd need to inspect those details

#

billing_reason
string
Indicates the reason why the invoice was created.

manual: Unrelated to a subscription, for example, created via the invoice editor.
subscription: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.
subscription_create: A new subscription was created.
subscription_cycle: A subscription advanced into a new period.
subscription_threshold: A subscription reached a billing threshold.
subscription_update: A subscription was updated.
upcoming: Reserved for simulated invoices, per the upcoming invoice endpoint.

#

So you can use that to differentiate new subscription invoice from renewals or upgrade etc

#

(subscription_cycle is renewal)

strange vine
median drumBOT
vapid latch
strange vine
#

Good, i research this. But in nutshell - this behavior is available (i mean retries of charges from customer for subscription) and much customizeable?

vapid latch
#

Yes, automatic retries are available and customizable (with some exception included in docs)

strange vine
#

Really glad to hear that. Thank you so much again for you help!

#

Did you know how long our thread will be available so i didn't have to copy this information in any other place?