Kaynağa Gözat

PayStack支付webhook调试

kevin_zhangl 3 yıl önce
ebeveyn
işleme
b84702e2da

+ 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回调日志