From 6bc9ea923fd87290879b0d3c6c5dc40047911f5e Mon Sep 17 00:00:00 2001 From: Dmitry Fedyuk Date: Sat, 19 Aug 2017 08:14:03 +0300 Subject: [PATCH] 0.0.3 --- Charge.php | 12 ++++++++++++ composer.json | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Charge.php b/Charge.php index 6ebbd52..ad99855 100644 --- a/Charge.php +++ b/Charge.php @@ -9,6 +9,18 @@ * @method Settings s() */ final class Charge extends \Df\PaypalClone\Charge { + /** + * 2017-08-19 + * «Amount to be paid, + * MULTIPLIED BY 100 since the format of the amount must not contain any decimals or other separators. + * The AMOUNT has to be assigned dynamically.» + * @override + * @see \Df\PaypalClone\Charge::k_Amount() + * @used-by \Df\PaypalClone\Charge::p() + * @return string + */ + protected function k_Amount() {return 'AMOUNT';} + /** * 2017-08-19 * «Your affiliation name in our system» diff --git a/composer.json b/composer.json index bcabe9e..89c170a 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mage2pro/postfinance" - ,"version": "0.0.2" + ,"version": "0.0.3" ,"description": "The «PostFinance» payment extension for Magento 2." ,"type": "magento2-module" ,"homepage": "https://mage2.pro/c/extensions/postfinance" @@ -11,7 +11,7 @@ "homepage": "https://mage2.pro/users/dmitry_fedyuk", "role": "Developer" }] - ,"require": {"mage2pro/core": ">=2.10.32"} + ,"require": {"mage2pro/core": ">=2.10.33"} ,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\PostFinance\\": ""}} ,"keywords": [ "API"