mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Logging for wepay
This commit is contained in:
parent
8f2960f936
commit
a5d8a300b1
@ -77,7 +77,6 @@ class WePayCreditCard {
|
||||
client_address['country'] = document.querySelector(['meta[name=country_code']).content;
|
||||
|
||||
if(document.querySelector(['meta[name=country_code']).content == 'US'){
|
||||
console.log("country code is US");
|
||||
client_address['postal_code'] = document.querySelector(['meta[name=client-postal-code']).content;
|
||||
}
|
||||
|
||||
@ -128,7 +127,6 @@ class WePayCreditCard {
|
||||
client_address['country'] = document.querySelector(['meta[name=country_code']).content;
|
||||
|
||||
if(document.querySelector(['meta[name=country_code']).content == 'US'){
|
||||
console.log("country code is US");
|
||||
client_address['postal_code'] = document.querySelector(['meta[name=client-postal-code']).content;
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
<meta name="contact-email" content="{{ $contact->email }}">
|
||||
<meta name="client-postal-code" content="{{ $contact->client->postal_code }}">
|
||||
<meta name="country_code" content="{{$country_code}}">
|
||||
|
||||
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
|
||||
<script src="{{ asset('js/clients/payments/card-js.min.js') }}"></script>
|
||||
|
||||
|
@ -96,6 +96,7 @@
|
||||
@include('portal.ninja2020.components.primary-color')
|
||||
|
||||
<body class="antialiased">
|
||||
<div>
|
||||
@if(session()->has('message'))
|
||||
<div class="py-1 text-sm text-center text-white bg-primary disposable-alert">
|
||||
{{ session('message') }}
|
||||
@ -156,7 +157,7 @@
|
||||
}
|
||||
</script>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<footer>
|
||||
|
@ -1,5 +1,5 @@
|
||||
@extends('portal.ninja2020.layout.app')
|
||||
|
||||
<div>
|
||||
@isset($gateway_title)
|
||||
@section('meta_title', $gateway_title)
|
||||
@else
|
||||
@ -9,7 +9,7 @@
|
||||
@push('head')
|
||||
@yield('gateway_head')
|
||||
@endpush
|
||||
<div>
|
||||
|
||||
@section('body')
|
||||
@livewire('required-client-info', ['fields' => method_exists($gateway, 'getClientRequiredFields') ? $gateway->getClientRequiredFields() : [], 'contact' => auth()->guard('contact')->user(), 'countries' => $countries, 'company' => $company, 'company_gateway_id' => $gateway->company_gateway ? $gateway->company_gateway->id : $gateway->id])
|
||||
|
||||
@ -41,6 +41,7 @@
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('footer')
|
||||
@yield('gateway_footer')
|
||||
|
||||
@ -79,4 +80,4 @@
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
</div>
|
||||
</div>
|
Loading…
x
Reference in New Issue
Block a user