Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed May 16, 2024
1 parent a2596d1 commit b28c199
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/controllers/YookassaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,15 @@ public function actionPaymentListener()
* @var ShopBill $shopBill
*/
$shopBill = ShopBill::find()->andWhere(['external_id' => $paymentId])->one();
\Yii::info("Оплата: ".print_r($shopBill->id, true), self::class);
\Yii::info("Оплата: " . $paymentId, self::class);

if (!$shopBill) {
\Yii::error("Не найден счет на сайте " . $paymentId, self::class);
throw new Exception("Не найден счет на сайте " . $paymentId);
}

\Yii::info("Оплата: ".print_r($shopBill->id, true), self::class);

/*
* @var $yooKassa \skeeks\cms\shop\paySystems\YandexKassaPaySystem
*/
Expand Down

0 comments on commit b28c199

Please sign in to comment.