Skip to content

Commit

Permalink
1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jun 28, 2020
1 parent c913e27 commit 046185e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Controller/Index/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ private function file() {return
*/
private function webhook() {
// 2016-12-30 Checkout.com does not pass the «User-Agent» HTTP Header.
df_sentry_m($this)->user_context([
'id' => df_is_localhost() ? 'Checkout.com webhook on localhost' : 'Checkout.com'
]);
df_sentry_m($this)->user(['id' => df_is_localhost() ? 'Checkout.com webhook on localhost' : 'Checkout.com']);
return Json::i(Handler::p(df_json_decode(@file_get_contents($this->file()))));
}
}
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/checkout.com"
,"version": "1.5.9"
,"version": "1.6.0"
,"description": "Checkout.com integration with Magento 2"
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/checkout-com"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=6.3.1", "mage2pro/phone": ">=1.0.0", "checkout/checkout-php-api": "^1.2.3"}
,"require": {"mage2pro/core": ">=6.6.8", "mage2pro/phone": ">=1.0.0", "checkout/checkout-php-api": "^1.2.3"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\CheckoutCom\\": ""}}
,"keywords": [
"3D Secure"
Expand Down

0 comments on commit 046185e

Please sign in to comment.