Skip to content

Commit

Permalink
0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 24, 2017
1 parent bf96fea commit 0cab45d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions Method.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@
namespace Dfe\YandexKassa;
// 2017-09-17
final class Method extends \Df\PaypalClone\Method {
/**
* 2017-09-17
* The «sum» parameter has the «CurrencyAmount»:
* https://tech.yandex.com/money/doc/payment-solution/payment-form/payment-form-http-docpage
* https://tech.yandex.ru/money/doc/payment-solution/payment-form/payment-form-http-docpage
* The «CurrencyAmount» type description:
* In English: «Amount. Fixed-point decimal number with 2-digit precision.»
* https://tech.yandex.com/money/doc/payment-solution/reference/datatypes-docpage
* In Russian: «Сумма. Число с фиксированной точкой, две цифры после точки.»
* https://tech.yandex.ru/money/doc/payment-solution/reference/datatypes-docpage
* @override
* @see \Df\Payment\Method::amountFormat()
* @used-by \Df\Payment\Operation::amountFormat()
* @param float|int $a
* @return string
*/
function amountFormat($a) {return df_f2($a);}

/**
* 2017-09-24
* @used-by \Dfe\YandexKassa\Charge::pCharge()
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/yandex-kassa"
,"version": "0.1.8"
,"version": "0.1.9"
,"description": "The «Yandex.Kassa» (Яндекс.Касса, Yandex.Checkout) payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/yandex-kassa"
Expand Down

0 comments on commit 0cab45d

Please sign in to comment.