Browse Source

PayStack支付webhook调试

kevin_zhangl 3 năm trước cách đây
mục cha
commit
b84702e2da
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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回调日志