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

请添加 「退款原因」 参数 #802

Closed
hao-li opened this issue Jul 17, 2017 · 0 comments
Closed

请添加 「退款原因」 参数 #802

hao-li opened this issue Jul 17, 2017 · 0 comments

Comments

@hao-li
Copy link

hao-li commented Jul 17, 2017

问题描述:

微信退款时有一个可选的 refund_desc 参数,若商户传入,会在下发给用户的退款消息中体现退款原因。(例如:商品已售完)

可以考虑给 refund 方法添加一个 $refundDesc 参数。
Payment/API.php +222

    public function refund(
        $orderNo,
        $refundNo,
        $totalFee,
        $refundFee = null,
        $opUserId = null,
        $type = self::OUT_TRADE_NO,
        $refundAccount = 'REFUND_SOURCE_UNSETTLED_FUNDS'
        )
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