refactor(payment): 移除ApplePay支付平台支持并整合到Stripe
Build docker and publish / build (20.15.1) (push) Has been cancelled
Build docker and publish / build (20.15.1) (push) Has been cancelled
将ApplePay支付方式整合到Stripe平台处理,移除独立的ApplePay平台代码 简化支付逻辑,统一通过Stripe处理所有支付方式
This commit is contained in:
@@ -39,7 +39,7 @@ func PaymentNotifyHandler(svcCtx *svc.ServiceContext) func(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
c.String(http.StatusOK, "%s", "success")
|
||||
case payment.Stripe, payment.ApplePay:
|
||||
case payment.Stripe:
|
||||
l := notify.NewStripeNotifyLogic(c.Request.Context(), svcCtx)
|
||||
if err := l.StripeNotify(c.Request, c.Writer); err != nil {
|
||||
result.HttpResult(c, nil, err)
|
||||
|
||||
Reference in New Issue
Block a user