Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

建议增加退款相关文档 #28

Closed
MortyFx opened this issue Nov 13, 2017 · 8 comments
Closed

建议增加退款相关文档 #28

MortyFx opened this issue Nov 13, 2017 · 8 comments

Comments

@MortyFx
Copy link

MortyFx commented Nov 13, 2017

问题描述

目前文档中已说明所有网关均支持 refund 方法,支付宝退款 $config_biz 传入订单号即可,但微信支付退款传入的配置项并未说明,建议完善一下退款的文档哦,谢谢。

@MortyFx
Copy link
Author

MortyFx commented Nov 13, 2017

我试了下,微信支付退款需要传的最小配置参数:

参数 备注
out_trade_no 商户平台订单号
out_refund_no 商户平台生成的退款单号
total_fee 订单金额
refund_fee 退款金额

@MortyFx
Copy link
Author

MortyFx commented Nov 13, 2017

对了,我用的是 Laravel 包,基础的支付配置已经写在配置文件里了,上述给出的最小配置不包含基础配置。

@yansongda
Copy link
Owner

因为退款较简单,所以没写文档,不过,确实是需要完善了。

我找时间完善下,同时欢迎 PR

感谢您的支持

@jwwb681232
Copy link

为啥退款都没有异步通知?我nginx日志也没有通知记录

@yansongda
Copy link
Owner

yansongda commented Dec 15, 2017

是的,支付宝和微信对退款没有做异步通知,详情请查看支付宝和微信的开发文档。

@jwwb681232
Copy link

谢谢

@yansongda
Copy link
Owner

2.x 已发布,所有文档已经完善。麻烦请升级到最新版本。

感谢您的支持!

@anyforever
Copy link

@jwwb681232 微信退款异步通知,需要在商户系统里设置 。支付宝的还没有看
https://pay.weixin.qq.com/index.php/core/refundconfig

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

No branches or pull requests

4 participants