#.al2
1 messages · Page 1 of 1 (latest)
when a subscription invoice is unpaid what's the behaviour afterwards
That'd depends on how you have settings configured on your Dashboard. Subscription will generally transition topast_due
is it possible to keep track of whether a subscription is paid or not after the initial invoice payment failed hook?
Sure, you'd just subscribe to the relevant webhook events and check forstatus: 'active'
if the call is made from api to create the subscription does it make a difference?
Does it make a difference to?
to the subscription configuration made on panel
customer,
items: [{ price, ...(quantity && { quantity }) }],
...(trialDays && { trial_period_days: trialDays }),
});``` this is how it is on the api side
alright tyvm
sorry quick question, if the subscription is setup automatically without checkout sessions if the payment is failed for a subscription how can the user pay for it, if he canceled the subscription on credit card side or if the credit card is declined ?