|
@@ -82,7 +82,7 @@ class PayPlusController implements PayMentInterFace
|
|
|
{
|
|
{
|
|
|
$post = $request->all();
|
|
$post = $request->all();
|
|
|
Util::WriteLog('PayPlus', 'cash notify: ' . json_encode($post, JSON_UNESCAPED_UNICODE));
|
|
Util::WriteLog('PayPlus', 'cash notify: ' . json_encode($post, JSON_UNESCAPED_UNICODE));
|
|
|
-
|
|
|
|
|
|
|
+ Util::WriteLog('PayPlus', 'cash notify body: ' . (string) $request->getContents());
|
|
|
$signature = $request->header('Authorization', '');
|
|
$signature = $request->header('Authorization', '');
|
|
|
$service = (new PayPlus())->getPayoutService();
|
|
$service = (new PayPlus())->getPayoutService();
|
|
|
if (!$service->verifyPayoutSignature($post, $signature)) {
|
|
if (!$service->verifyPayoutSignature($post, $signature)) {
|