Stripe Payment Driver
This commit is contained in:
parent
81cf9ace95
commit
e065789315
1 changed files with 4 additions and 1 deletions
|
|
@ -86,7 +86,10 @@ class StripePaymentDriver extends BaseDriver
|
|||
{
|
||||
Stripe::setApiKey(config('ninja.ninja_stripe_key'));
|
||||
|
||||
$this->stripe_connect_auth = ["stripe_account" => $this->company_gateway->getConfigField('account_id')];
|
||||
if(strlen($this->company_gateway->getConfigField('account_id')) > 1)
|
||||
$this->stripe_connect_auth = ["stripe_account" => $this->company_gateway->getConfigField('account_id')];
|
||||
|
||||
throw new \Exception('Stripe Connect has not been configured');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue