Skip to content

Добавлен метод оплаты ТКС. #3

Merged
merged 1 commit into from
Mar 14, 2019
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,2 +1,5 @@
### v1.0.1 от 14.03.2019
* Добавлен метод оплаты ТКС.

### v1.0.0 от 19.09.2018
* Добавлена возможность создания платежей через API Яндекс.Кассы
* Добавлена возможность создания платежей через API Яндекс.Кассы
8 changes: 4 additions & 4 deletions src/PluginForm/YandexCheckout/PaymentOffsiteForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

namespace Drupal\yandex_checkout\PluginForm\YandexCheckout;

use Drupal\commerce\Response\NeedsRedirectException;
use Drupal\commerce_order\Adjustment;
use Drupal\commerce_order\Entity\OrderInterface;
use Drupal\commerce_order\Entity\OrderItem;
use Drupal\commerce_order\Plugin\Field\FieldType\AdjustmentItemList;
use Drupal\commerce_payment\Exception\PaymentGatewayException;
use Drupal\commerce_payment\PluginForm\PaymentOffsiteForm as BasePaymentOffsiteForm;
use Drupal\Core\Field\FieldItemInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
use Drupal\profile\Entity\Profile;
use Drupal\user\UserInterface;
use Drupal\yandex_checkout\Plugin\Commerce\PaymentGateway\YandexCheckout;
use YandexCheckout\Common\Exceptions\ApiException;
use YandexCheckout\Client;
use YandexCheckout\Model\ConfirmationType;
use YandexCheckout\Model\Payment;
use YandexCheckout\Request\Payments\CreatePaymentRequest;

class PaymentOffsiteForm extends BasePaymentOffsiteForm
Expand Down
5 changes: 2 additions & 3 deletions yandex_checkout.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Yandex Checkout Module
description: Yandex Checkout Module description
package: YandexCheckout
type: module
version: 1.0.0
version: 1.0.1
package: Commerce (contrib)
core: 8.x
dependencies:
- commerce:commerce_payment
- commerce:commerce_tax
- commerce:commerce_payment
2 changes: 1 addition & 1 deletion yandex_checkout.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ billing_validation:

yandex-checkout-sdk-php:
remote: https://github.com/yandex-money/yandex-checkout-sdk-php
version: "1.0.2"
version: "1.1.6"
license:
name: MIT
url: https://github.com/yandex-money/yandex-checkout-sdk-php/LICENSE.md
Expand Down