Skip to content

Release/2.2.6 #31

Merged
merged 1 commit into from
Feb 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
### v2.2.5 от 01.02.2021
### v2.2.6 от 11.02.2022
* Добавление дополнительной проверки при отправке второго чека

### v2.2.5 от 01.02.2022
* Доработка функционала отправки второго чека
* Добавление возможности использовать несколько платежных шлюзов с разными именами

Expand Down
4 changes: 2 additions & 2 deletions src/EventSubscriber/YooKassaEventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ public function onSendSecondReceipt(OrderEvent $event)

if (
!$isSentSecondReceipt
&& !is_null($this->config)
&& $this->config['second_receipt_enabled']
&& !empty($this->config)
&& !empty($this->config['second_receipt_enabled'])
&& $state['value'] == $this->config['second_receipt_status']
) {
$this->apiClient = $this->getClient($this->config);
Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/Commerce/PaymentGateway/YooKassa.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
*/
class YooKassa extends OffsitePaymentGatewayBase
{
const YOOMONEY_MODULE_VERSION = '2.2.5';
const YOOMONEY_MODULE_VERSION = '2.2.6';

/**
* @var Client apiClient
Expand Down