Payment API Version
Transactions hash
# File lib/active_merchant/billing/gateways/paybox_direct.rb, line 82 def capture(money, authorization, options = {}) requires!(options, :order_id) post = {} add_invoice(post, options) post[:numappel] = authorization[0,10] post[:numtrans] = authorization[10,10] commit('capture', money, post) end
# File lib/active_merchant/billing/gateways/paybox_direct.rb, line 101 def credit(money, identification, options = {}) deprecated CREDIT_DEPRECATION_MESSAGE refund(money, identification, options) end
# File lib/active_merchant/billing/gateways/paybox_direct.rb, line 75 def purchase(money, creditcard, options = {}) post = {} add_invoice(post, options) add_creditcard(post, creditcard) commit('purchase', money, post) end
# File lib/active_merchant/billing/gateways/paybox_direct.rb, line 106 def refund(money, identification, options = {}) post = {} add_invoice(post, options) add_reference(post, identification) commit('refund', money, post) end
# File lib/active_merchant/billing/gateways/paybox_direct.rb, line 113 def test? @options[:test] || Base.gateway_mode == :test end
# File lib/active_merchant/billing/gateways/paybox_direct.rb, line 91 def void(identification, options = {}) requires!(options, :order_id, :amount) post ={} add_invoice(post, options) add_reference(post, identification) post[:porteur] = '000000000000000' post[:dateval] = '0000' commit('void', options[:amount], post) end
Generated with the Darkfish Rdoc Generator 2.