Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jul 26, 2023
1 parent c417cd2 commit 41bc25b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Controller/Index/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Index extends \Magento\Framework\App\Action\Action {
* https://github.com/magento/magento2/blob/2.2.1/lib/internal/Magento/Framework/App/Action/Action.php#L84-L125
*/
function execute():Json {return df_lxh(function():Json {return Json::i(Handler::p(df_my_local()
? df_json_file_read(BP . '/_my/test/2Checkout/3/4.REFUND_ISSUED.json') : $this->getRequest()->getParams()
# 2023-07-26 "`df_json_file_read` should accept internal paths": https://github.com/mage2pro/core/issues/278
? df_json_file_read('_my/test/2Checkout/3/4.REFUND_ISSUED.json') : $this->getRequest()->getParams()
));});}
}
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.7.3"
,"version": "1.7.4"
,"description": "2Checkout integration with Magento 2"
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/2checkout"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://upwork.com/fl/mage2pro",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=9.7.8", "2checkout/2checkout-php": "*"}
,"require": {"mage2pro/core": ">=9.9.9", "2checkout/2checkout-php": "*"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\TwoCheckout\\": ""}}
,"keywords": [
"2Checkout"
Expand Down

0 comments on commit 41bc25b

Please sign in to comment.