spree/spree — pull request #4020 by Lordnibbler (2013-11-26 07:12:45+00:00)
Title: [backend] Risk Assessment feature MVP in

This addresses issue 3978:
https://github.com/spree/spree/issues/3978

Implements a basic Risk Assessment feature in Spree Backend. Viewing any Order's edit page now shows the following, with a status indicator:

* Payments; link_to new log feature (ie. Number of multiple failed authorization requests)
* AVS response (ie. Billing address not matching credit card)
* CVV response (ie. code not matching)

In the future, we would like to add indicators for orders placed in country A, and shipping to country B.

clarke #spree IRC has also suggested cutting potentially fraudulent users off after a certain number of failed attempts based on a certain reply from the gateway.