I have changed Stripe1 id and I have updated all the code (based on help example). But I still get this error in the console. This is the location of the error in (index) in the debugger
var ok = (typeof(stripeReadingPurchase.onSalesTax) === 'function') ? stripeReadingPurchase.onSalesTax() : true;
if (true) console.log('Stripe: Result of onSalesTax()', ok);
if (ok) {
if (stripeReadingPurchase.debugging) console.log('Stripe: onApprovalReceived called');
Stripe1.onApprovalReceived(token);
}
Tip: If you’re pasting code, html or config files, surround the code with triple back ticks (```), before the first line and after the last one. It will be formatted properly. (We fixed it for you this time)