Skip to content

Commit

Permalink
Merge pull request #25 from itdelta-prog/hotfix_testmode
Browse files Browse the repository at this point in the history
Minor changes
  • Loading branch information
AndrewNovikof authored Aug 30, 2023
2 parents eeae7bc + c6f5614 commit 551d119
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@ public function getDefaultParameters()
*/
public function setTestMode($testMode)
{
//TODO
//temp set http for test env!
$this->setEndPoint(
$testMode ? 'http://3dsec.sberbank.ru/payment/rest/' : 'https://securepayments.sberbank.ru/payment/rest/'
$testMode ? 'https://3dsec.sberbank.ru/payment/rest/' : 'https://securepayments.sberbank.ru/payment/rest/'
);

return $this->setParameter('testMode', $testMode);
Expand Down

2 comments on commit 551d119

@itdelta-prog
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здравствуйте, вы еще не выкатывали в релиз?

@AndrewNovikof
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Добры день! Оу, сейчас сделаю)

Please sign in to comment.