Skip to content

Commit 5175df6

Browse files
committed
Added is_phone_verified field
1 parent 7e82287 commit 5175df6

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

Block/Adminhtml/Order/View/Info.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ public function toHtml(){
150150
<td style="padding:5px;"><span>' . (($data['is_email_blacklist'] == 'Y') ? 'Yes' : (($data['is_email_blacklist'] == 'N') ? 'No' : '-')) . '</span></td>
151151
<td style="padding:5px;"><span><strong>Credit Card Blacklist</strong> <a href="javascript:;" title="Whether the credit card is in our blacklist database.">[?]</a></span></td>
152152
<td style="padding:5px;"><span>' . (($data['is_credit_card_blacklist'] == 'Y') ? 'Yes' : (($data['is_credit_card_blacklist'] == 'N') ? 'No' : '-')) . '</span></td>
153-
<td colspan="3" style="padding:5px;"><span>&nbsp;</span></td>
153+
<td style="padding:5px;"><span><strong>Phone Verified</strong> <a href="javascript:;" title="Whether the phone address is verified by the customer.">[?]</a></span></td>
154+
<td style="padding:5px;"><span>' . (isset($data['is_phone_verified']) ? $data['is_phone_verified'] : 'NA') . '</span></td>
154155
</tr>
155156
<tr>
156157
<td style="padding:5px;"><span><strong>Message</strong> <a href="javascript:;" title="FraudLabs Pro service message response.">[?]</a></span></td>

CHANGELOG

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ Revision History for FraudLabs Pro Magento2
2727
Fix compatibility issue.
2828

2929
2.0.12 2019-02-21
30-
Capture real IP behind firewalls and proxies.
30+
Capture real IP behind firewalls and proxies.
31+
32+
2.0.13 2019-05-24
33+
Added is_phone_verified field.

Controller/Observer.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public function processSendRequestToFraudLabsPro($order) {
155155
'payment_mode' => $paymentMode,
156156
'flp_checksum' => ( isset( $_COOKIE['flp_checksum'] ) ) ? $_COOKIE['flp_checksum'] : '',
157157
'source' => 'magento',
158-
'source_version' => '2.0.12',
158+
'source_version' => '2.0.13',
159159
);
160160

161161
$shippingAddress = $order->getShippingAddress();
@@ -177,6 +177,7 @@ public function processSendRequestToFraudLabsPro($order) {
177177

178178
$result['ip_address'] = $queries['ip'];
179179
$result['api_key'] = $apiKey;
180+
$result['is_phone_verified'] = 'No';
180181

181182
$order->setfraudlabspro_response(serialize($result))->save();
182183

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hexasoft/module-fraudlabspro",
33
"description": "FraudLabs Pro Fraud Prevention plugin that screen the order transaction for online frauds. Fraud Prevention extension for Magento 2.",
4-
"version": "2.0.12",
4+
"version": "2.0.13",
55
"type": "magento2-module",
66
"require": {
77
"php": "~5.5.0|~5.6.0|~7.0"

0 commit comments

Comments
 (0)