Merge branch 'develop' of https://gitee.com/fusenpack/fusenapi into develop
This commit is contained in:
commit
66084f9e96
@ -233,6 +233,7 @@ func (l *StripeWebhookLogic) handlePaymentSessionCompleted(sessionId string, tra
|
|||||||
|
|
||||||
// 付款成功
|
// 付款成功
|
||||||
func (l *StripeWebhookLogic) HandlePaymentIntentSucceeded(paymentIntent *stripe.PaymentIntent, eventId string) error {
|
func (l *StripeWebhookLogic) HandlePaymentIntentSucceeded(paymentIntent *stripe.PaymentIntent, eventId string) error {
|
||||||
|
fmt.Println(paymentIntent)
|
||||||
// 支付成功
|
// 支付成功
|
||||||
if paymentIntent.Status == "succeeded" {
|
if paymentIntent.Status == "succeeded" {
|
||||||
model, ok := paymentIntent.Metadata["model"]
|
model, ok := paymentIntent.Metadata["model"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user