form locking

This commit is contained in:
bronku 2026-11-09 22:40:27 +01:00
parent c4b06eb6c4
commit b2f10bb408
5 changed files with 64 additions and 10 deletions

View file

@ -31,10 +31,6 @@ func init() {
func startCheckout(w http.ResponseWriter, r *http.Request, o order) {
log.Println("ORDER_PENDING", o)
url := r.URL.RequestURI()
log.Println(url)
s, err := session.New(&stripe.CheckoutSessionParams{
Mode: stripe.String("payment"),
ClientReferenceID: stripe.String(o.id),