diff --git a/app/Services/BillingSubscription/BillingSubscriptionService.php b/app/Services/BillingSubscription/BillingSubscriptionService.php new file mode 100644 index 0000000000..7d2de3a33e --- /dev/null +++ b/app/Services/BillingSubscription/BillingSubscriptionService.php @@ -0,0 +1,43 @@ +billing_subscription = $billing_subscription; + } + + public function createInvoice($payment_hash) + { + //create the invoice if necessary ie. only is a payment was actually processed + } + + public function createClientSubscription($payment_hash) + { + //create the client sub record + } + + public function triggerWebhook($payment_hash) + { + //hit the webhook to after a successful onboarding + } + + public function fireNotifications() + { + //scan for any notification we are required to send + } +}