Browse Source

PayStack支付webhook调试

kevin_zhangl 3 years ago
parent
commit
b84702e2da
1 changed files with 2 additions and 0 deletions
  1. 2 0
      frontendApi/modules/v1/controllers/ShopController.php

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

@@ -178,7 +178,9 @@ class ShopController extends BaseController {
      * @throws \yii\web\HttpException
      */
     public function actionVerifyApproachOrder() {
+        LoggerTool::notice(\Yii::$app->request->isPost);
         if (\Yii::$app->request->isPost) {
+            LoggerTool::notice(\Yii::$app->request->post());
             $request = json_decode(\Yii::$app->request->post(), true);
             LoggerTool::notice($request);
             // TODO:支付webhook回调日志