Stripe information is taken for future transactions when order recurs
a stripe subscription gets added
A stripe product and price gets added in agency’s stripe account
Order should only repeat as defined in billingCycleCount
If repeatCount is 2 and repeatDuration is two that means the order will be repeated after every two months
After interval
a new order gets created with status ongoing
a new invoice gets created with open status if invoice is sent after manual order creation
if new invoice is not sent once after manual creation then the invoice wont be sent automatically
If payment is successful
invoice status is paid
if payment isnt successful
invoice status stays open
amount is deducted from agency’s stripe account
Team members are added
If task exists in prevous order or the first one (previous order could be the first one):
Tasks are created
Assignees are added
Notification sent to task assignee for task creation
Notification sent for task assignee as well
Notification sent to client and agency
Mail send logic stays same for repeated order creation and task creation/assign (smtp, custom email template etc)
If client cancels a subscription
app’s and stripe’s subscription gets cancelled
No new order or invoice will be created next time
Cancel app and stripe subscription when company gets deleted
If a subscription is already running, create a new manual invoice and make sure that particular invoice is not repeated after every interval. Manual invoice in recurring orders has a separate flow
Want to print your doc? This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (