diff --git a/app/models/Account.php b/app/models/Account.php index bbe026266a64..b988a5e65b39 100755 --- a/app/models/Account.php +++ b/app/models/Account.php @@ -352,6 +352,10 @@ class Account extends Eloquent public function showTokenCheckbox() { + if (!$this->isGatewayConfigured(GATEWAY_STRIPE)) { + return false; + } + return $this->token_billing_type_id == TOKEN_BILLING_OPT_IN || $this->token_billing_type_id == TOKEN_BILLING_OPT_OUT; }