mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:27:31 -05:00 
			
		
		
		
	fix instance
This commit is contained in:
		
							parent
							
								
									88bac69e13
								
							
						
					
					
						commit
						d537d012a1
					
				@ -80,7 +80,7 @@ class AuthorizePaymentMethod
 | 
			
		||||
 | 
			
		||||
    public function authorizeCreditCard()
 | 
			
		||||
    {
 | 
			
		||||
        $data['gateway'] = $this->authorize->company_gateway;
 | 
			
		||||
        $data['gateway'] = $this->authorize;
 | 
			
		||||
        $data['public_client_id'] = $this->authorize->init()->getPublicClientKey();
 | 
			
		||||
        $data['api_login_id'] = $this->authorize->company_gateway->getConfigField('apiLoginId');
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -18,7 +18,7 @@
 | 
			
		||||
          method="post" id="server_response">
 | 
			
		||||
        @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="gateway_response" id="gateway_response">
 | 
			
		||||
        <input type="hidden" name="is_default" id="is_default">
 | 
			
		||||
@ -44,7 +44,7 @@
 | 
			
		||||
@endsection
 | 
			
		||||
 | 
			
		||||
@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>
 | 
			
		||||
    @else
 | 
			
		||||
        <script src="https://js.authorize.net/v1/Accept.js" charset="utf-8"></script>
 | 
			
		||||
 | 
			
		||||
@ -126,7 +126,7 @@
 | 
			
		||||
        @yield('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">
 | 
			
		||||
                {!! $client->getSetting('portal_custom_footer') !!}
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user