Skip to content

Commit

Permalink
Merge pull request #6 from yandex-money/release/1.0.6
Browse files Browse the repository at this point in the history
Исправлен баг с получением авторизационного токена для Яндекс.Маркета
  • Loading branch information
artemlopatin committed Apr 17, 2018
2 parents b53af38 + aeecf26 commit 3a13a26
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/install.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<modification>
<name>Y.CMS for Opencart 2.0.x - 2.3.x</name>
<name>Y.CMS for Opencart 3.x</name>
<code>ycms.2.0</code>
<version>1.0.5</version>
<version>1.0.6</version>
<author>Yandex.Money</author>
<!-- Вставка кнопки в историю заказов-->
<file path="catalog/controller/account/order.php">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function index()
$this->session->data['last-active-tab'] = $tab;
}

$data['module_version'] = '1.0.5';
$data['module_version'] = '1.0.6';
$data['breadcrumbs'] = $this->getBreadCrumbs();
$data['kassaTaxRates'] = $this->getKassaTaxRates();
$data['shopTaxRates'] = $this->getShopTaxRates();
Expand Down Expand Up @@ -962,8 +962,8 @@ public function prepare_p()
return $this->goCurl(
'p',
'grant_type=authorization_code&code='.$this->request->get['code']
.'&client_id='.$this->config->get('yandex_money__pokupki_idapp')
.'&client_secret='.$this->config->get('yandex_money__pokupki_pw')
.'&client_id='.$this->config->get('yandex_money_pokupki_idapp')
.'&client_secret='.$this->config->get('yandex_money_pokupki_pw')
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function createPayment($orderId, $paymentMethod)
->setMetadata(array(
'order_id' => $orderId,
'cms_name' => 'ya_api_ycms_opencart',
'module_version' => '1.0.5',
'module_version' => '1.0.6',
));

$confirmation = array(
Expand Down
Binary file modified ycms2.oc3x.ocmod.zip
Binary file not shown.

0 comments on commit 3a13a26

Please sign in to comment.