mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-03 12:48:24 +08:00
fix some bugs
This commit is contained in:
parent
8e3565174a
commit
be7de3fd23
@ -135,8 +135,9 @@ class Wechat implements GatewayApplicationInterface
|
||||
{
|
||||
$data = Support::fromXml($content ?? Request::createFromGlobals()->getContent());
|
||||
if ($refund) {
|
||||
$decrypt_data = Support::decryptRefundContents($data['req_info'], $this->config->get('key'));
|
||||
$data = array_merge(
|
||||
Support::decryptRefundContents($data['req_info'], $this->config->get('key')),
|
||||
Support::fromXml($decrypt_data),
|
||||
$data
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user