Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Корректная обработка номера порта, указанного в виде строки #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rtmvnv
Copy link

@rtmvnv rtmvnv commented May 26, 2022

Исправлена маленькая ошибка в функции get_order_status().

Если адрес подключения был задан в виде строки, содержащей номер порта, эта строка интерпретировалась как URL и запрос делался на адрес 0.0.9.139.

$client = [
  'api_url' => '2443',
  ...

В файле examples/order.php порт задан именно строкой, поэтому проверка состояния чека не срабатывала.

В функции send_order() этой ошибки нет.

@rtmvnv rtmvnv changed the title Allow setting port number as string value Корректная обработка номера порта, указанного в виде строки May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant