Closed (fixed)
Project:
Commerce Fraud
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 May 2020 at 15:08 UTC
Updated:
4 Jul 2020 at 00:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
vishalghyv commentedThis checks for number of total order of given user form order uid and number of total orders from the given ip address.
In end if statement can be improved.
Probably there is a way to do it in just condition.
Descriptions can be improved
Will do the above changes (These changes I thought) if the rule is right.... Or something like this
Comment #3
vishalghyv commentedComment #4
vishalghyv commentedI don't how these coding standards have come theses do show in phpcs but never came here, I have not touched the lines mentioned.
Comment #5
vishalghyv commentedNeeds Work
Comment #6
vishalghyv commentedAs mentioned in #2, Now check is fixed to just one query
Comment #7
vishalghyv commentedComment #8
vishalghyv commentedComment #9
vishalghyv commentedComment #10
derekcresswell commented"Increase fraud score if user has placed ... IP addresses". Spelling and capitalisation. Terminology is "fraud score" not "count".
See the above note.
Just two quick spelling bits and it'll be good to go!
Comment #11
mrinalini9 commentedUpdated patch #9 as per the changes suggested in #10, please review.
Comment #12
derekcresswell commentedComment #13
vishalghyv commentedI think test would be needed for this probably.
Comment #14
derekcresswell commented@Vishalghyv would you want to add that here or in the other tests issue?
Comment #15
vishalghyv commentedComment #16
derekcresswell commentedComment #18
smccabe commentedCorrected a couple other Ip->IP capitalization issues on commit. Thnx everyone.