laowu il y a 1 semaine
Parent
commit
a81d89396e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Http/Controllers/Api/PayPlusController.php

+ 1 - 1
app/Http/Controllers/Api/PayPlusController.php

@@ -91,7 +91,7 @@ class PayPlusController implements PayMentInterFace
         $signature = $request->header('Authorization', '');
         $service = (new PayPlus())->getPayoutService();
         if (!$service->verifyPayoutSignature($post, $signature)) {
-            Util::WriteLog('PayPlus', 'cash notify verify failed');
+            Util::WriteLog('PayPlus', 'cash notify verify failed: ' . json_encode($post) . 'headers: ' . json_encode($request->headers->all()));
 
             return 'success';
         }