CardStream supports the following credit cards, which are auto-detected by the gateway based on the card number used:
AM American Express
Diners Club
Electron
JCB
UK Maestro
Maestro International
Mastercard
Solo
Style
Switch
Visa Credit
Visa Debit
Visa Purchasing
0 - No additional information available. 1 - Postcode not checked. 2 - Postcode matched. 4 - Postcode not matched. 8 - Postcode partially matched.
0 - No additional information available. 1 - Address numeric not checked. 2 - Address numeric matched. 4 - Address numeric not matched. 8 - Address numeric partially matched.
# File lib/active_merchant/billing/gateways/card_stream.rb, line 94 def purchase(money, credit_card, options = {}) requires!(options, :order_id) post = {} add_amount(post, money, options) add_invoice(post, money, credit_card, options) add_credit_card(post, credit_card) add_address(post, options) add_customer_data(post, options) commit(:purchase, post) end
Generated with the Darkfish Rdoc Generator 2.