class Stall::AuthorizeDotNet::Gateway
Public Class Methods
fake_payment_notification_for(cart)
click to toggle source
# File lib/stall/authorize_dot_net/gateway.rb, line 28 def self.fake_payment_notification_for(cart) Stall::AuthorizeDotNet::FakeGatewayPaymentNotification.new(cart) end
request(cart)
click to toggle source
# File lib/stall/authorize_dot_net/gateway.rb, line 20 def self.request(cart) Request.new(cart) end
response(request)
click to toggle source
# File lib/stall/authorize_dot_net/gateway.rb, line 24 def self.response(request) Response.new(request) end
test_mode=(value)
click to toggle source
# File lib/stall/authorize_dot_net/gateway.rb, line 15 def self.test_mode=(value) OffsitePayments.mode = value ? :test : :production @test_mode = value end