Class | ActiveMerchant::Billing::DataCashGateway |
In: |
lib/active_merchant/billing/gateways/data_cash.rb
|
Parent: | Gateway |
TEST_URL | = | 'https://testserver.datacash.com/Transaction' | Datacash server URLs | |
LIVE_URL | = | 'https://mars.transaction.datacash.com/Transaction' | ||
AUTH_TYPE | = | 'auth' | Different Card Transaction Types | |
CANCEL_TYPE | = | 'cancel' | ||
FULFILL_TYPE | = | 'fulfill' | ||
PRE_TYPE | = | 'pre' | ||
REFUND_TYPE | = | 'refund' | ||
TRANSACTION_REFUND_TYPE | = | 'txn_refund' | ||
POLICY_ACCEPT | = | 'accept' | Constant strings for use in the ExtendedPolicy complex element for CV2 checks | |
POLICY_REJECT | = | 'reject' | ||
DATACASH_SUCCESS | = | '1' | Datacash success code |
Creates a new DataCashGateway
The gateway requires that a valid login and password be passed in the options hash.
Performs an authorization, which reserves the funds on the customer‘s credit card, but does not charge the card.
Set to true to set up a recurring historic transaction account be set up. Only supported for :visa, :master and :american_express card types See http://www.datacash.com/services/recurring/historic.php for more details of historic transactions.
The continuous authority reference will be available in response#params[‘ca_referece’] if you have requested one
Captures the funds from an authorized transaction.
Refund to a card
Perform a purchase, which is essentially an authorization and capture in a single operation.
Set to true to set up a recurring historic transaction account be set up. Only supported for :visa, :master and :american_express card types See http://www.datacash.com/services/recurring/historic.php for more details of historic transactions.
The continuous authority reference will be available in response#params[‘ca_referece’] if you have requested one
Void a previous transaction