Skip to content

Commit

Permalink
1.5.18
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Aug 19, 2017
1 parent d990c97 commit bb3f572
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
21 changes: 13 additions & 8 deletions Charge.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@
* @method Settings s()
*/
final class Charge extends \Df\PaypalClone\Charge {
/**
* 2017-08-19
* 2016-08-26
* «5.1.1.2 Transaction Amount». Mandatoryю Numeric, two decimal places, from 0.01 to 99999999.99.
* «The total amount of the purchase transaction. By default the currency is AUD (Australian Dollars).»
* @override
* @see \Df\PaypalClone\Charge::k_Amount()
* @used-by \Df\PaypalClone\Charge::p()
* @return string
*/
protected function k_Amount() {return 'EPS_AMOUNT';}

/**
* 2017-08-19
* 2016-08-26
Expand Down Expand Up @@ -72,7 +84,7 @@ protected function k_Signature() {return 'EPS_FINGERPRINT';}
* @return string
*/
protected function amountFormat($a) {return df_f2(parent::amountFormat($a));}

/**
* 2016-08-26
* @override
Expand All @@ -91,13 +103,6 @@ protected function pCharge() {$s = $this->s(); return [
// E.g. May comprise of a timestamp padded with 0s for uniqueness: "20110714112034872000".»
'3D_XID' => str_pad($this->id(), 20, '0')
// 2016-08-26
// «5.1.1.2 Transaction Amount».
// Mandatory
// Numeric, two decimal places, from 0.01 to 99999999.99
// «The total amount of the purchase transaction.
// By default the currency is AUD (Australian Dollars).»
,'EPS_AMOUNT' => $this->amountF()
// 2016-08-26
// Optional
// String, length 2, ISO 4217 currency code
// «Payee’s Country two letter code»
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/securepay"
,"version": "1.5.17"
,"version": "1.5.18"
,"description": "The «SecurePay» payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/securepay"
Expand All @@ -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\\SecurePay\\": ""}}
,"keywords": [
"3D Secure"
Expand Down

0 comments on commit bb3f572

Please sign in to comment.