mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
fix instance
This commit is contained in:
parent
88bac69e13
commit
d537d012a1
@ -80,7 +80,7 @@ class AuthorizePaymentMethod
|
|||||||
|
|
||||||
public function authorizeCreditCard()
|
public function authorizeCreditCard()
|
||||||
{
|
{
|
||||||
$data['gateway'] = $this->authorize->company_gateway;
|
$data['gateway'] = $this->authorize;
|
||||||
$data['public_client_id'] = $this->authorize->init()->getPublicClientKey();
|
$data['public_client_id'] = $this->authorize->init()->getPublicClientKey();
|
||||||
$data['api_login_id'] = $this->authorize->company_gateway->getConfigField('apiLoginId');
|
$data['api_login_id'] = $this->authorize->company_gateway->getConfigField('apiLoginId');
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
method="post" id="server_response">
|
method="post" id="server_response">
|
||||||
@csrf
|
@csrf
|
||||||
|
|
||||||
<input type="hidden" name="company_gateway_id" value="{{ $gateway->id }}">
|
<input type="hidden" name="company_gateway_id" value="{{ $gateway->company_gateway->id }}">
|
||||||
<input type="hidden" name="payment_method_id" value="1">
|
<input type="hidden" name="payment_method_id" value="1">
|
||||||
<input type="hidden" name="gateway_response" id="gateway_response">
|
<input type="hidden" name="gateway_response" id="gateway_response">
|
||||||
<input type="hidden" name="is_default" id="is_default">
|
<input type="hidden" name="is_default" id="is_default">
|
||||||
@ -44,7 +44,7 @@
|
|||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('gateway_footer')
|
@section('gateway_footer')
|
||||||
@if($gateway->getConfigField('testMode'))
|
@if($gateway->company_gateway->getConfigField('testMode'))
|
||||||
<script src="https://jstest.authorize.net/v1/Accept.js" charset="utf-8"></script>
|
<script src="https://jstest.authorize.net/v1/Accept.js" charset="utf-8"></script>
|
||||||
@else
|
@else
|
||||||
<script src="https://js.authorize.net/v1/Accept.js" charset="utf-8"></script>
|
<script src="https://js.authorize.net/v1/Accept.js" charset="utf-8"></script>
|
||||||
|
@ -126,7 +126,7 @@
|
|||||||
@yield('footer')
|
@yield('footer')
|
||||||
@stack('footer')
|
@stack('footer')
|
||||||
|
|
||||||
@if((bool) \App\Utils\Ninja::isSelfHost())
|
@if((bool) \App\Utils\Ninja::isSelfHost() && !empty($client->getSetting('portal_custom_footer')))
|
||||||
<div class="py-1 text-sm text-center text-white bg-primary">
|
<div class="py-1 text-sm text-center text-white bg-primary">
|
||||||
{!! $client->getSetting('portal_custom_footer') !!}
|
{!! $client->getSetting('portal_custom_footer') !!}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user