Class TestMerchantServicesProvider

java.lang.Object
com.aoapps.payments.test.TestMerchantServicesProvider
All Implemented Interfaces:
MerchantServicesProvider

public class TestMerchantServicesProvider extends Object implements MerchantServicesProvider
Provider for testing software.

Configuration parameters:

  1. errorChance - percentage chance of some sort of error (during storeCard, payment, capture, void)
  2. declineChance - percentage chance of being declined, otherwise accepted (during payment)

TODO: Add AVS, CVV, and ReviewReason responses. TODO: Add hold

Author:
AO Industries, Inc.