make it the same as mini-beieli-web
This commit is contained in:
parent
0931ecb0f4
commit
8838103f2d
|
|
@ -153,7 +153,7 @@ func stripeWebhookHandler(w http.ResponseWriter, req *http.Request) {
|
|||
return
|
||||
}
|
||||
fmt.Printf("PaymentIntent was successful (charge_data: %s, amount: %d)!\n", paymentIntent.Metadata["charge_data"], paymentIntent.Amount)
|
||||
HandlePayment(paymentIntent.ReceiptEmail, paymentIntent.Metadata["charge_data"], paymentIntent.Amount)
|
||||
HandlePayment(paymentIntent.Metadata["login_user"], paymentIntent.Metadata["charge_data"], paymentIntent.Amount)
|
||||
// ... handle other event types
|
||||
default:
|
||||
fmt.Fprintf(os.Stderr, "Unexpected event type: %s\n", event.Type)
|
||||
|
|
|
|||
Loading…
Reference in New Issue