ryan 2 hete
szülő
commit
e59eb12db9
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      frontendApi/modules/v1/controllers/ShopController.php

+ 2 - 0
frontendApi/modules/v1/controllers/ShopController.php

@@ -326,8 +326,10 @@ class ShopController extends BaseController {
      * @throws \Exception
      */
     public function actionVerifyApproachOrder() {
+        LoggerTool::error('actionVerifyApproachOrder in: ');
         if (\Yii::$app->request->isPost) {
             $rawBody = \Yii::$app->request->getRawBody();
+            LoggerTool::error('actionVerifyApproachOrder in: '.$rawBody);
             $signature = (string) \Yii::$app->request->headers->get('x-paystack-signature', '');
             if (!PayStack::verifyWebhookSignature($rawBody, $signature, PayStack::getSecretKey())) {
                 return http_response_code(401);