Do no show publishable key if using stripe connect
This commit is contained in:
parent
899784cf45
commit
940c44292d
1 changed files with 5 additions and 1 deletions
|
|
@ -1,8 +1,12 @@
|
|||
@extends('portal.ninja2020.layout.payments', ['gateway_title' => 'Credit card', 'card_title' => 'Credit card'])
|
||||
|
||||
@section('gateway_head')
|
||||
<meta name="stripe-publishable-key" content="{{ $gateway->getPublishableKey() }}">
|
||||
|
||||
@if($gateway->getConfigField('account_id'))
|
||||
<meta name="stripe-account-id" content="{{ $gateway->getConfigField('account_id') }}">
|
||||
@else
|
||||
<meta name="stripe-publishable-key" content="{{ $gateway->getPublishableKey() }}">
|
||||
@endif
|
||||
<meta name="stripe-secret" content="{{ $intent->client_secret }}">
|
||||
<meta name="only-authorization" content="true">
|
||||
<meta name="stripe-token" content="">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue