Skip to content

Conversation

@andchir
Copy link
Contributor

@andchir andchir commented Apr 30, 2019

  • Добавил параметр Receipt (не обязательный).
  • Добавил параметр OutSumCurrency - название валюты. Этот параметр стал обязательным вместо названия платежной системы.
  • Параметр названия платежной системы (IncCurrLabel) теперь называется currencyLabel.

Изменения потребуют перенастройки на всех сайтах, которые используют этот компонент, но я думаю это необходимо для развития компонента.

'SignatureValue' => $this->generateSignature(),
'IsTest' => (int)$this->getTestMode(),
'IsTest' => (int) $this->getTestMode(),
'Receipt' => $this->getReceipt(),
Copy link
Member

Choose a reason for hiding this comment

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

Тут не страшно, если возвращаемое значение будет null?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Не важно. Если Receipt null или не верный (важна очередность параметров по документации), то он просто игнорируется.

@SilverFire
Copy link
Member

Спасибо!

@andchir
Copy link
Contributor Author

andchir commented Apr 30, 2019

Пока лучше подождать. Есть вопрос с URL кодированием (по документации) параметра Receipt. Этот параметр не проходит, разбираемся в чём проблема.

@SilverFire SilverFire changed the title Receipt parameter (not required). Add OutSumCurrency parameter, rename currency label parameter WIP: Receipt parameter (not required). Add OutSumCurrency parameter, rename currency label parameter May 2, 2019
@SilverFire
Copy link
Member

Ок, повесил Work In Progress. Дайте знать, как будете готовы

@andchir
Copy link
Contributor Author

andchir commented May 7, 2019

Можно мержить. Всё проверил, параметры проходят.

@SilverFire
Copy link
Member

Спасибо, принято

@SilverFire SilverFire merged commit dc60f95 into hiqdev:master May 13, 2019
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.

2 participants