Skip to content

Commit 4384ad7

Browse files
1 parent 6b5329e commit 4384ad7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Controller/Index/Index.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ private function webhook():Json {
4545
# 2016-12-30 Checkout.com does not pass the «User-Agent» HTTP Header.
4646
df_sentry_m($this)->user(['id' => df_is_localhost() ? 'Checkout.com webhook on localhost' : 'Checkout.com']);
4747
return Json::i(Handler::p(df_json_decode(df_contents(
48-
df_my_local() ? BP . '/_my/test/checkout.com/charge.voided.json' : 'php://input'
48+
# 2023-07-26 "`df_contents()` should accept internal paths": https://github.com/mage2pro/core/issues/273
49+
df_my_local() ? '_my/test/checkout.com/charge.voided.json' : 'php://input'
4950
))));
5051
}
5152
}

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mage2pro/checkout.com"
3-
,"version": "1.7.3"
3+
,"version": "1.7.4"
44
,"description": "Checkout.com integration with Magento 2"
55
,"type": "magento2-module"
66
,"homepage": "https://mage2.pro/c/extensions/checkout-com"
@@ -11,7 +11,7 @@
1111
"homepage": "https://upwork.com/fl/mage2pro",
1212
"role": "Developer"
1313
}]
14-
,"require": {"mage2pro/core": ">=9.9.8", "mage2pro/phone": ">=1.0.0", "checkout/checkout-php-api": "^1.2.3"}
14+
,"require": {"mage2pro/core": ">=9.9.9", "mage2pro/phone": ">=1.0.0", "checkout/checkout-php-api": "^1.2.3"}
1515
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\CheckoutCom\\": ""}}
1616
,"keywords": [
1717
"3D Secure"

0 commit comments

Comments
 (0)