diff --git a/stripe.go b/stripe.go index 92eea94..2ef28e2 100644 --- a/stripe.go +++ b/stripe.go @@ -84,10 +84,9 @@ func getstripepaymentintentHandler(response http.ResponseWriter, request *http.R // define payment params := &stripe.PaymentIntentParams{ - Customer: stripe.String(customerid), - Amount: stripe.Int64(abo_amount), - Currency: stripe.String(string(stripe.CurrencyCHF)), - ReceiptEmail: stripe.String(name), + Customer: stripe.String(customerid), + Amount: stripe.Int64(abo_amount), + Currency: stripe.String(string(stripe.CurrencyCHF)), } params.AddMetadata("charge_data", charge_data[0]) params.AddMetadata("login_user", name)