no receipt email

This commit is contained in:
Joerg Lehmann 2023-02-03 18:49:24 +01:00
parent 40134ceba9
commit 0931ecb0f4
1 changed files with 3 additions and 4 deletions

View File

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