mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for forte payment driver authorization
This commit is contained in:
parent
442c21287b
commit
490c026a08
@ -1,7 +1,7 @@
|
|||||||
@extends('portal.ninja2020.layout.payments', ['gateway_title' => 'Bank Details', 'card_title' => 'Bank Details'])
|
@extends('portal.ninja2020.layout.payments', ['gateway_title' => 'Bank Details', 'card_title' => 'Bank Details'])
|
||||||
|
|
||||||
@section('gateway_head')
|
@section('gateway_head')
|
||||||
@if($gateway->getConfigField('testMode'))
|
@if($gateway->company_gateway->getConfigField('testMode'))
|
||||||
<script type="text/javascript" src="https://sandbox.forte.net/api/js/v1"></script>
|
<script type="text/javascript" src="https://sandbox.forte.net/api/js/v1"></script>
|
||||||
@else
|
@else
|
||||||
<script type="text/javascript" src="https://api.forte.net/js/v1"></script>
|
<script type="text/javascript" src="https://api.forte.net/js/v1"></script>
|
||||||
@ -116,7 +116,7 @@
|
|||||||
var routing_number=document.getElementById('routing-number').value;
|
var routing_number=document.getElementById('routing-number').value;
|
||||||
|
|
||||||
var data = {
|
var data = {
|
||||||
api_login_id: '{{$gateway->getConfigField("apiLoginId")}}',
|
api_login_id: '{{$gateway->company_gateway->getConfigField("apiLoginId")}}',
|
||||||
account_number: account_number,
|
account_number: account_number,
|
||||||
routing_number: routing_number,
|
routing_number: routing_number,
|
||||||
account_type: "checking",
|
account_type: "checking",
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<script src="{{ asset('js/clients/payments/forte-card-js.min.js') }}"></script>
|
<script src="{{ asset('js/clients/payments/forte-card-js.min.js') }}"></script>
|
||||||
|
|
||||||
<link href="{{ asset('css/card-js.min.css') }}" rel="stylesheet" type="text/css">
|
<link href="{{ asset('css/card-js.min.css') }}" rel="stylesheet" type="text/css">
|
||||||
@if($gateway->getConfigField('testMode'))
|
@if($gateway->company_gateway->getConfigField('testMode'))
|
||||||
<script type="text/javascript" src="https://sandbox.forte.net/api/js/v1"></script>
|
<script type="text/javascript" src="https://sandbox.forte.net/api/js/v1"></script>
|
||||||
@else
|
@else
|
||||||
<script type="text/javascript" src="https://api.forte.net/js/v1"></script>
|
<script type="text/javascript" src="https://api.forte.net/js/v1"></script>
|
||||||
@ -106,7 +106,7 @@
|
|||||||
document.getElementById('expire_month').value=month;
|
document.getElementById('expire_month').value=month;
|
||||||
|
|
||||||
var data = {
|
var data = {
|
||||||
api_login_id: '{{$gateway->getConfigField("apiLoginId")}}',
|
api_login_id: '{{$gateway->company_gateway->getConfigField("apiLoginId")}}',
|
||||||
card_number: cc,
|
card_number: cc,
|
||||||
expire_year: year,
|
expire_year: year,
|
||||||
expire_month: month,
|
expire_month: month,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user