Skip to content

Commit

Permalink
1.4.12
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jul 10, 2017
1 parent 8876979 commit 6d6f054
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ function __construct(array $response, array $request = []) {
* @used-by \Dfe\TwoCheckout\Method::api()
* @return string
*/
function message() {return df_cc_n(
'The 2Checkout request is failed.'
,'Response:', df_json_encode($this->_res->a())
,!$this->_req ? null : ['Request:', df_json_encode($this->_req)]
);}
function message() {return df_api_rr_failed('2Checkout', $this->_res->a(), $this->_req);}

/**
* 2016-08-21
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/2checkout"
,"version": "1.4.11"
,"version": "1.4.12"
,"description": "The «2Checkout» payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/2checkout"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=2.7.40", "2checkout/2checkout-php": "*"}
,"require": {"mage2pro/core": ">=2.8.0", "2checkout/2checkout-php": "*"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\TwoCheckout\\": ""}}
,"keywords": [
"2Checkout"
Expand Down

0 comments on commit 6d6f054

Please sign in to comment.