no receipt email
This commit is contained in:
1 parent
40134ceba9
commit
0931ecb0f4
1 file changed
+3
-4
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user