diff --git a/main.go b/main.go
index d0acdcb..33af4d2 100644
--- a/main.go
+++ b/main.go
@@ -374,7 +374,7 @@ func handleStripeWebhook(w http.ResponseWriter, r *http.Request) {
return
}
- event, err := webhook.ConstructEvent(body, r.Header.Get("Stripe-Signature"), os.Getenv("STRIPE_WEBHOOK_SECRET"))
+ event, err := webhook.ConstructEventWithOptions(body, r.Header.Get("Stripe-Signature"), os.Getenv("STRIPE_WEBHOOK_SECRET"), webhook.ConstructEventOptions{IgnoreAPIVersionMismatch: true})
if err != nil {
log.Println("[ERROR] failed to verify webhook:", err)
http.Error(w, "invalid signature", http.StatusBadRequest)
diff --git a/static/afac26.html b/static/afac26.html
index b69c95e..faca58a 100644
--- a/static/afac26.html
+++ b/static/afac26.html
@@ -140,7 +140,7 @@