From b2627480d11a47e5d4ae2fe74f02883c8236ab15 Mon Sep 17 00:00:00 2001 From: Joerg Lehmann Date: Tue, 13 Apr 2021 17:20:46 +0200 Subject: [PATCH] do not send stripe receipt - 2 --- stripe.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stripe.go b/stripe.go index 3fe90c8..5db8a65 100644 --- a/stripe.go +++ b/stripe.go @@ -52,8 +52,8 @@ func getstripepaymentintentHandler(response http.ResponseWriter, request *http.R stripe.Key = getStripeKey() params := &stripe.PaymentIntentParams{ - Amount: stripe.Int64(abo_amount), - Currency: stripe.String(string(stripe.CurrencyCHF)) + Amount: stripe.Int64(abo_amount), + Currency: stripe.String(string(stripe.CurrencyCHF)), } params.AddMetadata("charge_data", charge_data[0]) params.AddMetadata("login_user", name)