Fix stripe auto-pay not fetching publishable key

This commit is contained in:
wrongecho
2025-01-17 20:28:09 +00:00
parent 9dcd9abdc6
commit fd59709af5

View File

@@ -1,6 +1,4 @@
// Initialize Stripe.js
//const stripe = Stripe('pk_test_51QhHFaH1DlldW47DoEgLXkXD65rtGgpXrS2H9mlC9tF117NtExGVvdsVpnS0whz0s4wuTgN4Yl2hjW8ERXYHV3fP00ZKjrya8n');
const stripe = Stripe(document.getElementById("stripe_publishable_key").value);
initialize();