Post by straightlight » Mon Feb 05, 2018 1:19 am

In this file, replace all instances of:

Code: Select all

$_POST
with:

Code: Select all

$this->request->post

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Fri Jun 29, 2018 10:44 pm

Other issues have been discovered on the Fraud Labs Pro extension v3.x (and possibly on v2.x releases as well). Ensure the order_id VARCHAR length is set to: 16 rather than 11 from the fraud labs pro table on the database for those who uses transaction IDs rather than order IDs.

Second, in catalog/model/extension/fraud/fraudlabspro.php file,

find:

Code: Select all

fraudlabspro_reject_status_id
replace with:

Code: Select all

fraud_fraudlabspro_reject_status_id
Otherwise, you'll encounter issues with the transaction when an order gets rejected.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Fri Jun 29, 2018 10:57 pm


Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by garych33w » Tue Jul 03, 2018 2:58 pm

Based on my understanding to the FraudLabs Pro's API, only the Transaction ID generated by FraudLabs Pro Screen Order API can be used for the FraudLabs Pro Feedback API. Thus, the order_id length in fraudlabspro table of database will not be affected.

Newbie

Posts

Joined
Fri Apr 07, 2017 9:48 am

Post by straightlight » Tue Jul 03, 2018 7:33 pm

That still doesn't cover the already addressed issue on GitHub regarding the order_id type field which should be an INT rather than VARCHAR since the order_id is being sanitized as an integer in the addOrderHistory in anyhow.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 68 guests