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

微信支付的退款没有实现吗? #10

Open
male110 opened this issue Nov 29, 2021 · 0 comments
Open

微信支付的退款没有实现吗? #10

male110 opened this issue Nov 29, 2021 · 0 comments

Comments

@male110
Copy link

male110 commented Nov 29, 2021

订单退款(未实现)
例子

const order = {
out_trade_no: '1514027114',
out_refund_no: '1516000270202',
total_fee: 1, // 单位元
refund_fee: 1, // 单位元
refund_desc: '退款测试'
}
const result = await wechat.refund(order) // 此方法返回Promise

// APP/小程序退款
// 如果您需要退款 APP/小程序 的订单,请传入第二个字符串参数APP 或 MINIAPP
const result = await wechat.refund(order, 'APP') // APP订单 此方法返回Promise
const result = await wechat.refund(order, 'MINIAPP') // 小程序订单 此方法返回Promise

文档标识未实现,微信支付的退款没有实现吗?

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

No branches or pull requests

1 participant