Skip to content

Commit 046185e

Browse files
1.6.0
1 parent c913e27 commit 046185e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Controller/Index/Index.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ private function file() {return
5656
*/
5757
private function webhook() {
5858
// 2016-12-30 Checkout.com does not pass the «User-Agent» HTTP Header.
59-
df_sentry_m($this)->user_context([
60-
'id' => df_is_localhost() ? 'Checkout.com webhook on localhost' : 'Checkout.com'
61-
]);
59+
df_sentry_m($this)->user(['id' => df_is_localhost() ? 'Checkout.com webhook on localhost' : 'Checkout.com']);
6260
return Json::i(Handler::p(df_json_decode(@file_get_contents($this->file()))));
6361
}
6462
}

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.5.9"
3+
,"version": "1.6.0"
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://mage2.pro/users/dmitry_fedyuk",
1212
"role": "Developer"
1313
}]
14-
,"require": {"mage2pro/core": ">=6.3.1", "mage2pro/phone": ">=1.0.0", "checkout/checkout-php-api": "^1.2.3"}
14+
,"require": {"mage2pro/core": ">=6.6.8", "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)