#.al2

1 messages · Page 1 of 1 (latest)

candid urchinBOT
glass sonnet
#

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 to past_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 for status: 'active'

hearty monolith
#

if the call is made from api to create the subscription does it make a difference?

glass sonnet
#

Does it make a difference to?

hearty monolith
#

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
glass sonnet
#

No the same Dashboard settings apply

#

They're account wide

hearty monolith
#

alright tyvm

hearty monolith
#

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 ?