Hey friends,
I am using FraudLabs Pro and have the approve status set to "Processing" (so that "Orders that marked as approve by FraudLabs Pro will be assigned this order status.")
However it does not work. After approving an order it still has the review status "Pending."
Additionally for orders that are in review status, I can't change the order status no matter what, even when using "Override" (which says, "If the customers order is being blocked from changing the order status due to an anti-fraud extension enable override.")
Currently on v2.3.0.2 and looking for help please
I am using FraudLabs Pro and have the approve status set to "Processing" (so that "Orders that marked as approve by FraudLabs Pro will be assigned this order status.")
However it does not work. After approving an order it still has the review status "Pending."
Additionally for orders that are in review status, I can't change the order status no matter what, even when using "Override" (which says, "If the customers order is being blocked from changing the order status due to an anti-fraud extension enable override.")
Currently on v2.3.0.2 and looking for help please
Last edited by AM786 on Tue Aug 14, 2018 1:22 am, edited 2 times in total.
Let's see if this issue is really caused by FraudLabsPro. In catalog/model/extension/fraud/fraudlabspro.php file,
find:
add right below:
Try another transaction. Then, go to your admin - > systems - > maintenance - > error logs page and see a line beginning with: FRAUDLABSPRO - DEBUG:
find:
Code: Select all
$response = curl_exec($curl);
Code: Select all
$this->log->write('FRAUDLABSPRO - DEBUG: ' . json_encode($response));
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hi,
seems this the old known bug:
in catalog/model/checkout/order.php
Find:
replace to:
This should help to solve issue.
Cheers
seems this the old known bug:
in catalog/model/checkout/order.php
Find:
Code: Select all
foreach ($extensions as $extension) {
if ($this->config->get($extension['code'] . '_status')) {
$this->load->model('extension/fraud/' . $extension['code']);
$fraud_status_id = $this->{'model_fraud_' . $extension['code']}->check($order_info);
if ($fraud_status_id) {
$order_status_id = $fraud_status_id;
}
}
}
Code: Select all
foreach ($extensions as $extension) {
if ($this->config->get('fraud_' . $extension['code'] . '_status')) {
$this->load->model('extension/fraud/' . $extension['code']);
if (property_exists($this->{'model_extension_fraud_' . $extension['code']}, 'check')) {
$fraud_status_id = $this->{'model_extension_fraud_' . $extension['code']}->check($order_info);
if ($fraud_status_id) {
$order_status_id = $fraud_status_id;
}
}
}
}
Cheers
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Do NOT post confidential information on the public forum. However, there doesn't seem to be any issues with FraudLabsPro itself. I would then suggest to follow the fix from the post above noticing the changes.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Alright, after doing this, and receiving a few orders, the orders are no longer reporting a FraudLabs Pro score. What would you recommend?
Also came across this but not sure if its the same problem I was having because mine use to work just changing order statuses didn't: https://www.fraudlabspro.com/resources/ ... -opencart/
Also came across this but not sure if its the same problem I was having because mine use to work just changing order statuses didn't: https://www.fraudlabspro.com/resources/ ... -opencart/
I don't remember if this is the same problem I was having or if this is a new problem, but I found *a solution*
System > Settings > Store > Option > Fraud Order Status.
The problem I was having with order status "cancelled" being set automatically... I changed it from Cancelled to Complete for the time being.
System > Settings > Store > Option > Fraud Order Status.
The problem I was having with order status "cancelled" being set automatically... I changed it from Cancelled to Complete for the time being.
Who is online
Users browsing this forum: No registered users and 137 guests