diff --git a/CHANGELOG.md b/CHANGELOG.md index fa1975e..2423fa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### v1.1.1 от 30.07.2020 +* Мелкие правки + ### v1.1.0 от 10.07.2020 * Обновлен SDK до версии 1.6.4 diff --git a/src/Plugin/Commerce/PaymentGateway/YandexCheckout.php b/src/Plugin/Commerce/PaymentGateway/YandexCheckout.php index b10aa1a..0f91d90 100644 --- a/src/Plugin/Commerce/PaymentGateway/YandexCheckout.php +++ b/src/Plugin/Commerce/PaymentGateway/YandexCheckout.php @@ -46,7 +46,7 @@ */ class YandexCheckout extends OffsitePaymentGatewayBase { - const YAMONEY_MODULE_VERSION = '1.1.0'; + const YAMONEY_MODULE_VERSION = '1.1.1'; /** * @property Client apiClient diff --git a/src/Plugin/Commerce/PaymentGateway/YandexCheckoutBilling.php b/src/Plugin/Commerce/PaymentGateway/YandexCheckoutBilling.php index f25a081..d7a6f1b 100644 --- a/src/Plugin/Commerce/PaymentGateway/YandexCheckoutBilling.php +++ b/src/Plugin/Commerce/PaymentGateway/YandexCheckoutBilling.php @@ -11,8 +11,8 @@ * * @CommercePaymentGateway( * id = "yandex_checkout_billing", - * label = "Yandex Checkout Billing", - * display_label = "Yandex Checkout Billing", + * label = "Billing", + * display_label = "Billing", * forms = { * "offsite-payment" = "Drupal\yandex_checkout\PluginForm\YandexCheckout\PaymentBillingForm", * }, @@ -34,7 +34,7 @@ public function defaultConfiguration() { return [ 'billing_id' => '', - 'narrative' => $this->t('Order No. %order_id% Payment via Yandex.Billing'), + 'narrative' => $this->t('Order No. %order_id% Payment via Billing'), ] + parent::defaultConfiguration(); } @@ -47,7 +47,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta $form['billing_id'] = array( '#type' => 'textfield', - '#title' => $this->t('Yandex.Billing\'s identifier'), + '#title' => $this->t('Billing\'s identifier'), '#default_value' => $this->configuration['billing_id'], ); @@ -55,7 +55,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta '#type' => 'textfield', '#title' => $this->t('Payment purpose'), '#description' => $this->t( - 'Payment purpose is added to the payment order: specify whatever will help identify the order paid via Yandex.Billing' + 'Payment purpose is added to the payment order: specify whatever will help identify the order paid via Billing' ), '#default_value' => $this->configuration['narrative'], ); diff --git a/src/Plugin/Commerce/PaymentMethodType/YandexCheckoutBilling.php b/src/Plugin/Commerce/PaymentMethodType/YandexCheckoutBilling.php index a6dd5bc..0c0d01a 100644 --- a/src/Plugin/Commerce/PaymentMethodType/YandexCheckoutBilling.php +++ b/src/Plugin/Commerce/PaymentMethodType/YandexCheckoutBilling.php @@ -25,7 +25,7 @@ class YandexCheckoutBilling extends YandexCheckoutPaymentMethod */ public function getLabel() { - return t('Yandex.Billing (bank card, e-wallets)'); + return t('Billing (bank card, e-wallets)'); } public function buildLabel(PaymentMethodInterface $payment_method) diff --git a/yandex_checkout.info.yml b/yandex_checkout.info.yml index 5ea8d10..6711a4c 100644 --- a/yandex_checkout.info.yml +++ b/yandex_checkout.info.yml @@ -2,7 +2,7 @@ name: Yandex Checkout Module description: Yandex Checkout Module description package: YandexCheckout type: module -version: 1.1.0 +version: 1.1.1 project: Commerce (contrib) core: 8.x dependencies: