push
This commit is contained in:
parent
5b89cfd573
commit
e3dd721bea
15
index.html
15
index.html
@ -190,21 +190,6 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Load NMI Collect.js -->
|
||||
<script type="module">
|
||||
import { createApi } from "/src/api/api.ts"
|
||||
const api = createApi();
|
||||
api.getPaymentConfig(null).then((paymentConfig) => {
|
||||
const nmiPublicKey = paymentConfig?.data?.nmi?.publicKey;
|
||||
|
||||
const scriptElement = document.createElement("script");
|
||||
scriptElement.src = "https://hms.transactiongateway.com/token/Collect.js";
|
||||
scriptElement.setAttribute("data-tokenization-key", nmiPublicKey);
|
||||
scriptElement.setAttribute("data-variant", "inline");
|
||||
document.head.appendChild(scriptElement);
|
||||
})
|
||||
</script>
|
||||
<!-- Load NMI Collect.js -->
|
||||
<!-- Klaviyo Metric -->
|
||||
<script type="module">
|
||||
const klaviyoKeys = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user