diff --git a/app/Http/Requests/RecurringInvoice/StoreRecurringInvoiceRequest.php b/app/Http/Requests/RecurringInvoice/StoreRecurringInvoiceRequest.php index cba0442356..3b77b3d93a 100644 --- a/app/Http/Requests/RecurringInvoice/StoreRecurringInvoiceRequest.php +++ b/app/Http/Requests/RecurringInvoice/StoreRecurringInvoiceRequest.php @@ -113,11 +113,11 @@ class StoreRecurringInvoiceRequest extends Request private function setAutoBillFlag($auto_bill) { - if ($auto_bill == 'always') { + if ($auto_bill == 'always' || $auto_bill == 'optout') { return true; } - if ($auto_bill == 'off') { + if ($auto_bill == 'off' || $auto_bill == 'optin') { return false; } }