|
@@ -285,7 +285,8 @@ class OrderService
|
|
|
try {
|
|
|
$config = config('payment.wxpay');
|
|
|
$config['notify_url'] = getenv('NOTIFY_DOMAIN_ADMIN') . '/notify/orderPay/wxpay';
|
|
|
- Pay::wechat($config)->pos($payData);
|
|
|
+ $wxReturn = Pay::wechat($config)->pos($payData);
|
|
|
+ $log->info("WXPAY_RETURN", json_decode(json_encode($wxReturn), true));
|
|
|
$result = self::findWxpay($params['orderGroupId'], 0);
|
|
|
} catch (GatewayException $g) {
|
|
|
$result = self::findWxpay($params['orderGroupId'], 0);
|
|
@@ -310,7 +311,8 @@ class OrderService
|
|
|
try {
|
|
|
$config = config('payment.alipay');
|
|
|
$config['notify_url'] = getenv('NOTIFY_DOMAIN_ADMIN') . '/notify/orderPay/alipay';
|
|
|
- Pay::alipay($config)->pos($payData);
|
|
|
+ $alipayReturn = Pay::alipay($config)->pos($payData);
|
|
|
+ $log->info("WXPAY_RETURN", json_decode(json_encode($alipayReturn), true));
|
|
|
$result = self::findAlipay($params['orderGroupId'], 0);
|
|
|
} catch (GatewayException $g) {
|
|
|
$result = self::findAlipay($params['orderGroupId'], 0);
|