#muhammad-subscriptions

1 messages · Page 1 of 1 (latest)

empty saddle
sacred heart
#

we do that already but we want to create a manual invoice, if that is not paid, cancel the subscription, is that possible?

empty saddle
#

What do you mean by "create a manual invoice"? Is this a regular invoice (not linked to a subscription)?

sacred heart
#

customer has a subscription, fails to pay (automatic renewal)

support service creates a manual invoice for customer to pay, with 90days due time

customer doesnt pay, we need to cancel subscription automatically

empty saddle
#

Got it! Give me a few minutes to look into this.

empty saddle
#

Sorry for the delay! After discussing with a colleague, it seems there's no easy way to do that with Stripe. Instead you should build that logic on your end:

  1. Store the due_date of the invoice on your end, and wait
  2. Then, when the current date == due_date, retrieve the invoice and check its status.
  3. If the status is not paid, then cancel the subscription.
sacred heart
#

thank you very much @empty saddle for looking into it and for your reply

sacred heart
#

@empty saddle

  1. do manual invoice have smart retries?
  2. when a manual invoice is past due and not paid, does it trigger an invoice.updated event?
hexed glade
#
  1. they do if you have Invoicing Plus on your account, it's an extra cost
  2. I don't think so