Skip to content
New issue

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

文档描述错误 微信支付->退款->退款接口 #45

Closed
AlvinQinwen opened this issue Oct 13, 2021 · 1 comment
Closed

文档描述错误 微信支付->退款->退款接口 #45

AlvinQinwen opened this issue Oct 13, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@AlvinQinwen
Copy link
Contributor

paymentService.Refund.Refund(
  transactionID, // 微信支付单号
  refundOutNO, // 商户外部单号
  &object.HashMap{
    "refund": 1, // 退款金额。 必填
    "total": 1, // 总金额。 必填
    "currency": "CNY", // 目前微信只支持CNY
  }, 
  nil,
)

refundOutNO应为自己生成的退款单号不是商户下单号
image
jssdk退款文档

@AlvinQinwen AlvinQinwen added the documentation Improvements or additions to documentation label Oct 13, 2021
@Matrix-X
Copy link
Contributor

请升级使用 release 1.1.7,已经完成强类型对象,传参。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants