Skip to content

Commit

Permalink
1.5.21
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Aug 19, 2017
1 parent 227cf49 commit a72c9af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
14 changes: 4 additions & 10 deletions Charge.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,8 @@ protected function pCharge() {$s = $this->s(); return [
* https://github.com/thephpleague/omnipay-securepay/blob/v2.1.0/src/Message/DirectPostAuthorizeRequest.php#L22
*/
,'EPS_TIMESTAMP' => gmdate('YmdHis')
// 2016-08-26
// Optional
// String, length less than 30
// «Payee’s town»
,'PS_TOWN' => $this->addressSB()->getCity()
// 2016-08-26 «Payee’s town». Optional. String, length less than 30.
,'PS_TOWN' => $this->addressB()->getCity()
/**
* 2016-08-26
* «5.1.1.2 Transaction Type».
Expand Down Expand Up @@ -282,10 +279,7 @@ protected function pCharge() {$s = $this->s(); return [
* See section 3.4.4.4. for more details».
*/
,'EPS_TXNTYPE' => 0
// 2016-08-26
// Optional
// String, length less than 30
// «Payee’s zip/post code»
,'EPS_ZIPCODE' => $this->addressSB()->getPostcode()
// 2016-08-26 «Payee’s zip/post code». Optional. String, length less than 30.
,'EPS_ZIPCODE' => $this->addressB()->getPostcode()
];}
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/securepay"
,"version": "1.5.20"
,"version": "1.5.21"
,"description": "The «SecurePay» payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/securepay"
Expand Down

0 comments on commit a72c9af

Please sign in to comment.