Would be nice to have some standard fraud cases as default rules available without needing to make them yourself or copy from the commerce_fraud_examples module.

Open to suggestions for some default rules.

We have some ideas here at Acro Media think would be good. I'll try to get them all together in a list for this issue.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

thejacer87 created an issue. See original summary.

thejacer87’s picture

Added some default rules (see picture) as well as some reorganisation. Going to commit this patch into dev, but will leave ticket open to review the rules and/or discuss adding any other rules

thejacer87’s picture

dylf’s picture

Just a few things I noticed:

  • Ex: Rule should read " Increase fraud score for expensive orders" instead of "to expensive orders"
  • The capitalisation of words in the rule names seems inconsistent.
  • "Increase fraud score for orders over X price" or something like that instead of "expensive orders" would be more consistent with the other rules requiring a threshold to be set
  • The last order rule should say something like "placed within X minutes from most recent order" just so its a little more clear what condition the rule is for
  • It might be better to say "if order has X amount of products" for a user that doesn't know whats going on. Maybe they think oh this is the rule to use if people keep stealing electronic products from my store.
  • On that note perhaps it would be good for a default rule that targets the product type. For example, perhaps fraudsters are targeting digital products because they are easier to steal, or electronics because they are easy to flip.
thejacer87’s picture

made all the changes except the last one:

On that note perhaps it would be good for a default rule that targets the product type. For example, perhaps fraudsters are targeting digital products because they are easier to steal, or electronics because they are easy to flip.

might decide to add that later

changes are in dev branch

Vishalghyv’s picture

Status: Active » Fixed
DerekCresswell’s picture

Status: Fixed » Closed (outdated)

Typically older issues should not be marked fixed unless something happened to them. Instead mark them as closed. This would typically be left to the maintainers discretion.