mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-04 05:08:55 +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());
|
$data = Support::fromXml($content ?? Request::createFromGlobals()->getContent());
|
||||||
if ($refund) {
|
if ($refund) {
|
||||||
|
$decrypt_data = Support::decryptRefundContents($data['req_info'], $this->config->get('key'));
|
||||||
$data = array_merge(
|
$data = array_merge(
|
||||||
Support::decryptRefundContents($data['req_info'], $this->config->get('key')),
|
Support::fromXml($decrypt_data),
|
||||||
$data
|
$data
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user