SITEMAP Home About Us Services Surgery Center Patient Resources Contact Check Out window.addEventListener('DOMContentLoaded', function(e) { document.getElementById('checkout_button').addEventListener('click', function(e) { CollectCheckout.redirectToCheckout({ type: "sale", lineItems: [ { lineItemType: "customPayment", description: "Patient Payment-Thank you!", currency: "USD" }, ], successUrl: null, cancelUrl: null, receipt: { showReceipt: true, sendToCustomer: true, }, collectShippingInfo: true, useKount: false, paymentMethods: [ { type: "creditCard", use3DSecure: false, }, ], fields: [ ], }).then((error) => { console.log(error); }); }); }); #checkout_button { display: inline-block; font-family: sans-serif; font-size: 20px; background-color: #0BD992; color: white; border-radius: 4px; padding: 14px 28px; } #checkout_button:hover { cursor: pointer; }