Skip to content

Commit

Permalink
Merge pull request davpsh#8 from yandex-money/release/v1.1.1
Browse files Browse the repository at this point in the history
Мелкие правки
  • Loading branch information
pavel52rus authored Jul 30, 2020
2 parents 6172e28 + 85967a1 commit fcf3245
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### v1.1.1 от 30.07.2020
* Мелкие правки

### v1.1.0 от 10.07.2020
* Обновлен SDK до версии 1.6.4

Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/Commerce/PaymentGateway/YandexCheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions src/Plugin/Commerce/PaymentGateway/YandexCheckoutBilling.php
Original file line number Diff line number Diff line change
Expand Up @@ -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",
* },
Expand All @@ -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();
}

Expand All @@ -47,15 +47,15 @@ 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'],
);

$form['narrative'] = array(
'#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'],
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion yandex_checkout.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fcf3245

Please sign in to comment.