diff --git a/frontend/style/app/pay/pay.go b/frontend/style/app/pay/pay.go index f9623067..29986113 100644 --- a/frontend/style/app/pay/pay.go +++ b/frontend/style/app/pay/pay.go @@ -53,7 +53,7 @@ func initDB() { func payHandler(w http.ResponseWriter, r *http.Request) { - cookie, err := r.Cookie("amount") + cookie, err := r.Cookie("totalPrice") if err != nil { http.Error(w, "Не удалось получить amount из cookies", http.StatusBadRequest) return