an “error code” of “34” means “Future Payment Stored OK”
an “error code” of “0” means “No error - transaction successful”
# File lib/active_merchant/billing/gateways/paystation.rb, line 45 def capture(money, authorization_token, options = {}) post = new_request add_invoice(post, options) add_amount(post, money, options) add_authorization_token(post, authorization_token, options[:credit_card_verification]) commit(post) end
# File lib/active_merchant/billing/gateways/paystation.rb, line 56 def purchase(money, payment_source, options = {}) post = new_request add_invoice(post, options) add_amount(post, money, options) if payment_source.is_a?(String) add_token(post, payment_source) else add_credit_card(post, payment_source) end add_customer_data(post, options) if options.has_key?(:customer) commit(post) end
Generated with the Darkfish Rdoc Generator 2.