From 0931ecb0f429ba8600ee0ac416121d06b31b5ea2 Mon Sep 17 00:00:00 2001 From: Joerg Lehmann Date: Fri, 3 Feb 2023 18:49:24 +0100 Subject: [PATCH] no receipt email --- stripe.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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)