Skip to content

Commit

Permalink
1.2.0: #1
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Feb 15, 2017
1 parent e004533 commit 1ee0c22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions Method.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ function canRefund() {return true;}
/**
* 2016-08-27
* Первый параметр — для test, второй — для live.
* 2017-02-16
* SecurePay has changed the URL for Direct Post API testing: https://mage2.pro/t/2779
* @override
* @see \Df\PaypalClone\Method\Normal::stageNames()
* @used-by \Df\PaypalClone\Method\Normal::url()
* @used-by \Df\PaypalClone\Refund::stageNames()
* @return string[]
*/
function stageNames() {return ['test', 'live'];}
function stageNames() {return ['test.', ''];}

/**
* 2016-08-30
Expand Down Expand Up @@ -84,12 +86,14 @@ protected function amountLimits() {return null;}

/**
* 2016-08-27
* 2017-02-16
* SecurePay has changed the URL for Direct Post API testing: https://mage2.pro/t/2779
* @override
* @see \Df\PaypalClone\Method\Normal::redirectUrl()
* @used-by \Df\PaypalClone\Method\Normal::getConfigPaymentAction()
* @return string
*/
protected function redirectUrl() {return
'https://api.securepay.com.au/{stage}/directpost/authorise'
'https://{stage}api.securepay.com.au/live/directpost/authorise'
;}
}
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.1.23"
,"version": "1.2.0"
,"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.0.5"}
,"require": {"mage2pro/core": "^2.0.8"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\SecurePay\\": ""}}
,"keywords": [
"3D Secure"
Expand Down

0 comments on commit 1ee0c22

Please sign in to comment.