public function onNotify($payType, $input, $param = []) { Log::info('PayPaypal.Notify - ' . SerializeUtil::jsonEncode($input, JSON_UNESCAPED_UNICODE)); // if (empty($input['hash']) || empty($input['trade_order_id'])) { // BizException::throws('签名错误'); // } // $hash = $input['hash']; // unset($input['hash']); // $calcHash = $this->generateHash($input); // if ($hash != $calcHash) { // BizException::throws('签名错误'); // } // $ret = PayOrderUtil::handleOrderPay(self::name(), $input['trade_order_id'], [ // 'payOrderId' => $input['transaction_id'], // ]); // if ($ret['code']) { // BizException::throws($ret['msg']); // } // return 'success'; }
注意到上面的代码,接到了paypal的事件通知但未对通知做任何处理。请问是在其他地方处理了吗?我在沙盘模式支付成功后调试发现paypal是已经返回成功事件了,但是订单还是不是已支付的状态。
微信或者联系MZ看一下
QQ扫一扫联系
点击联系
2374926113
微信扫一扫联系
.