diff --git a/controller/topup_stripe.go b/controller/topup_stripe.go index 75dbe28b..337ff8e7 100644 --- a/controller/topup_stripe.go +++ b/controller/topup_stripe.go @@ -220,7 +220,7 @@ func genStripeLink(referenceId string, customerId string, email string, amount i params := &stripe.CheckoutSessionParams{ ClientReferenceID: stripe.String(referenceId), SuccessURL: stripe.String(system_setting.ServerAddress + "/console/log"), - CancelURL: stripe.String(system_setting.ServerAddress + "/topup"), + CancelURL: stripe.String(system_setting.ServerAddress + "/console/topup"), LineItems: []*stripe.CheckoutSessionLineItemParams{ { Price: stripe.String(setting.StripePriceId),