Shopify/active_merchant — pull request #1469 by lathiat (2014-11-26 10:42:00+00:00)
Title: SecurePayAu: Implement support for FraudGuard anti-fraud check

Implement support for SecurePayAu's FraudGuard. Uses a different API endpoint, and requires a few extra fields.

Followed convention for options in all cases except the 'fraud' option flag which controls whether the fraud check is performed or not. The existing fraud_review flag is a response from the gateway, so we don't re-use that.

Most other gateways default to making the fraud check if the required information is present, I didn't want to do that as it may cause unexpected changes to existing installations and requires setup with the merchant to be useful anyway.

I welcome feedback on the above.

Created a unit and remote test for the new functionality. All unit tests pass, the following remote tests are currently failing but not as a result of this changeset:
test_successful_purchase_with_custom_credit_card_class (error)
test_successful_void (failure)