We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
调用退款接口
paymentClient, err := utils.NewWXPaymentApp(ctx.Request, params.AppId, NotifyUrl) if err != nil { panic(err) } fmt.Println(params.RefundOutNO) // 1634095819-969073932 outRefundNo := fmt.Sprintf("%d-%d", time.Now().Unix(), time.Now().Nanosecond()) response, err := paymentClient.Refund.Refund("xxxxx", outRefundNo, &power.HashMap{ "refund": 15, "total": 15, "currency": "CNY", }, &power.HashMap{ "reason": "技术部退款", }) fmt.Println(response)
根据utils.NewWXPaymentApp()方法中的HttpDebug: true可看到请求参数缺失out_refund_no
utils.NewWXPaymentApp()
HttpDebug: true
以及api接口返回信息亦提示 输入源“/body/out_refund_no”映射到字段“商户退款单号”必填性规则校验失败,此字段为必填项
The text was updated successfully, but these errors were encountered:
请升级使用 release 1.1.7,已经完成强类型对象,传参。
Sorry, something went wrong.
No branches or pull requests
调用退款接口
根据
utils.NewWXPaymentApp()
方法中的HttpDebug: true
可看到请求参数缺失out_refund_no以及api接口返回信息亦提示
输入源“/body/out_refund_no”映射到字段“商户退款单号”必填性规则校验失败,此字段为必填项
The text was updated successfully, but these errors were encountered: