mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Square payments
This commit is contained in:
parent
77c072fd10
commit
3119efa3da
@ -31,6 +31,7 @@
|
|||||||
<script>
|
<script>
|
||||||
const appId = "{{ $gateway->company_gateway->getConfigField('applicationId') }}";
|
const appId = "{{ $gateway->company_gateway->getConfigField('applicationId') }}";
|
||||||
const locationId = "{{ $gateway->company_gateway->getConfigField('locationId') }}";
|
const locationId = "{{ $gateway->company_gateway->getConfigField('locationId') }}";
|
||||||
|
|
||||||
async function initializeCard(payments) {
|
async function initializeCard(payments) {
|
||||||
const card = await payments.card();
|
const card = await payments.card();
|
||||||
await card.attach('#card-container');
|
await card.attach('#card-container');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user