diff --git a/app/Services/PaymentService.php b/app/Services/PaymentService.php index b0c5353c2d27..b40e81600cfe 100644 --- a/app/Services/PaymentService.php +++ b/app/Services/PaymentService.php @@ -73,6 +73,11 @@ class PaymentService extends BaseService } $paymentDriver = $account->paymentDriver($invitation, GATEWAY_TYPE_TOKEN); + + if ( ! $paymentDriver) { + return false; + } + $customer = $paymentDriver->customer(); if ( ! $customer) {