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
$notifyType
pay
支付宝退款操作,在异步回调通知中,具体代码如下:
class PaymentNotify implements \Payment\Contracts\IPayNotify { /** * @param string $channel 通知的渠道,如:支付宝、微信、招商 * @param string $notifyType 通知的类型,如:支付、退款 * @param string $notifyWay 通知的方式,如:异步 async,同步 sync * @param array $notifyData 通知的数据 * @return bool */ public function handle( string $channel, string $notifyType, string $notifyWay, array $notifyData ) { //notifyType 一直为`pay` } }
微信退款经过验证是没有问题的,该参数返回的是refund。
refund
个人方案:
现在只能依据notifyData 内数据判断类型。
notifyData
The text was updated successfully, but these errors were encountered:
No branches or pull requests
支付宝退款操作,在异步回调通知中,具体代码如下:
微信退款经过验证是没有问题的,该参数返回的是
refund
。个人方案:
现在只能依据
notifyData
内数据判断类型。The text was updated successfully, but these errors were encountered: