From 097d9ac1b8909d5a0284df1c45bdce81fac2b626 Mon Sep 17 00:00:00 2001 From: = Date: Sat, 6 Mar 2021 11:47:05 +1100 Subject: [PATCH] Padding out functionality --- app/Jobs/Cron/BillingSubscriptionCron.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/Jobs/Cron/BillingSubscriptionCron.php b/app/Jobs/Cron/BillingSubscriptionCron.php index 993605593365..453ab3befa02 100644 --- a/app/Jobs/Cron/BillingSubscriptionCron.php +++ b/app/Jobs/Cron/BillingSubscriptionCron.php @@ -49,4 +49,14 @@ class BillingSubscriptionCron } } } + + /* Our daily cron should check + + 1. Is the subscription still in trial phase? + 2. Check the recurring invoice and its remaining_cycles to see whether we need to cancel or perform any other function. + */ + private function processSubscription($client_subscription) + { + + } }