do not send stripe receipt - 2
This commit is contained in:
parent
79404a50da
commit
b2627480d1
|
|
@ -52,8 +52,8 @@ func getstripepaymentintentHandler(response http.ResponseWriter, request *http.R
|
||||||
stripe.Key = getStripeKey()
|
stripe.Key = getStripeKey()
|
||||||
|
|
||||||
params := &stripe.PaymentIntentParams{
|
params := &stripe.PaymentIntentParams{
|
||||||
Amount: stripe.Int64(abo_amount),
|
Amount: stripe.Int64(abo_amount),
|
||||||
Currency: stripe.String(string(stripe.CurrencyCHF))
|
Currency: stripe.String(string(stripe.CurrencyCHF)),
|
||||||
}
|
}
|
||||||
params.AddMetadata("charge_data", charge_data[0])
|
params.AddMetadata("charge_data", charge_data[0])
|
||||||
params.AddMetadata("login_user", name)
|
params.AddMetadata("login_user", name)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue