document.write("
affirm.analytics.trackOrderConfirmed( {"currency": "USD","orderId": "1029","paymentMethod": "Affirm","total": 99775}; //this function gets called on page load of the invoice page