ソースを参照

Merge pull request #1807 from QuantumNous/fix-stripe-successurl

fix: stripe支付成功未正确跳转
Calcium-Ion 6 ヶ月 前
コミット
8e95d338b5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      controller/topup_stripe.go

+ 1 - 1
controller/topup_stripe.go

@@ -217,7 +217,7 @@ func genStripeLink(referenceId string, customerId string, email string, amount i
 
 	params := &stripe.CheckoutSessionParams{
 		ClientReferenceID: stripe.String(referenceId),
-		SuccessURL:        stripe.String(system_setting.ServerAddress + "/log"),
+		SuccessURL:        stripe.String(system_setting.ServerAddress + "/console/log"),
 		CancelURL:         stripe.String(system_setting.ServerAddress + "/topup"),
 		LineItems: []*stripe.CheckoutSessionLineItemParams{
 			{