mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Do no show publishable key if using stripe connect
This commit is contained in:
parent
899784cf45
commit
940c44292d
@ -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…
x
Reference in New Issue
Block a user