mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Make square postal code optional
This commit is contained in:
parent
b8f76691fa
commit
cbc94a35fa
@ -61,7 +61,7 @@ class SquareCreditCard {
|
||||
currencyCode: document.querySelector('meta[name=currencyCode]')
|
||||
.content,
|
||||
intent: 'CHARGE',
|
||||
postalCode: document.querySelector('meta[name=postal_code_required]')
|
||||
postalCode: document.querySelector('meta[name=postal_code_required]').content
|
||||
};
|
||||
|
||||
const verificationResults = await this.payments.verifyBuyer(
|
||||
|
@ -7,7 +7,7 @@
|
||||
<meta name="square_contact" content="{{ json_encode($square_contact) }}">
|
||||
<meta name="amount" content="{{ $amount }}">
|
||||
<meta name="currencyCode" content="{{ $currencyCode }}">
|
||||
<meta name="postal_code_required" content="{{ $postal_code_required }}"?
|
||||
<meta name="postal_code_required" content="{{ (bool)$postal_code_required }}"?
|
||||
|
||||
@endsection
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user