From f682ec0d5def1d25e4dc10cc3a739958e62d7bf6 Mon Sep 17 00:00:00 2001 From: saparatayev Date: Wed, 4 May 2022 10:49:35 +0500 Subject: [PATCH] test rysgal bank --- plugins/tps/birzha/classes/Rysgal.php | 2 +- plugins/tps/birzha/components/Balance.php | 2 +- plugins/tps/birzha/components/balance/default.htm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/tps/birzha/classes/Rysgal.php b/plugins/tps/birzha/classes/Rysgal.php index 6ecc821d2..8f79f8d8c 100644 --- a/plugins/tps/birzha/classes/Rysgal.php +++ b/plugins/tps/birzha/classes/Rysgal.php @@ -15,7 +15,7 @@ class Rysgal extends Payment protected function getApiUrl() { - return 'https://epg2.rysgalbank.tm/epg/rest/'; + return 'https://epg.rysgalbank.tm/epg/rest/'; } protected function getRegistrationUri() diff --git a/plugins/tps/birzha/components/Balance.php b/plugins/tps/birzha/components/Balance.php index 817d9779a..54bd82b9e 100644 --- a/plugins/tps/birzha/components/Balance.php +++ b/plugins/tps/birzha/components/Balance.php @@ -61,7 +61,7 @@ class Balance extends ComponentBase $onlinePayment = new $onlinePaymentClass; $response = $onlinePayment->registerOrder($payment, $url); - + dd($response); $result = json_decode($response->body,true); $successfullyRegistered = $onlinePayment->checkRegisterOrderErrorCode($result); diff --git a/plugins/tps/birzha/components/balance/default.htm b/plugins/tps/birzha/components/balance/default.htm index d242d7c99..0d34bcd20 100644 --- a/plugins/tps/birzha/components/balance/default.htm +++ b/plugins/tps/birzha/components/balance/default.htm @@ -42,7 +42,7 @@