Skip to content

Commit

Permalink
Fix issue reading cookie.
Browse files Browse the repository at this point in the history
  • Loading branch information
fraudlabspro committed Sep 22, 2022
1 parent 259cd68 commit 9c6f519
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<name>fraudlabspro</name>
<displayName><![CDATA[FraudLabs Pro Fraud Prevention]]></displayName>
<version><![CDATA[1.14.1]]></version>
<version><![CDATA[1.15.1]]></version>
<description><![CDATA[FraudLabs Pro screens transaction for online frauds to protect your store from fraud attempts.]]></description>
<author><![CDATA[FraudLabs Pro]]></author>
<tab><![CDATA[payment_security]]></tab>
Expand Down
4 changes: 2 additions & 2 deletions fraudlabspro.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct()
{
$this->name = 'fraudlabspro';
$this->tab = 'payment_security';
$this->version = '1.15.0';
$this->version = '1.15.1';
$this->author = 'FraudLabs Pro';
$this->controllers = ['payment', 'validation'];
$this->module_key = 'cdb22a61c7ec8d1f900f6c162ad96caa';
Expand Down Expand Up @@ -203,7 +203,7 @@ public function hookNewOrder($params)
'quantity' => $quantity,
'currency' => $default_currency->iso_code,
'user_order_id' => $params['order']->id,
'device_fingerprint' => (isset($_COOKIE['flp.device'])) ? $_COOKIE['flp.device'] : '',
'device_fingerprint' => (isset($_COOKIE['flp_device'])) ? $_COOKIE['flp_device'] : '',
'flp_checksum' => Context::getContext()->cookie->flp_checksum,
'format' => 'json',
'source' => 'prestashop',
Expand Down

0 comments on commit 9c6f519

Please sign in to comment.