Sha256: 52d6fadf7218929f0fa996ae818b88b04800345dd55376bffce6c29ba778c7e5
Contents?: true
Size: 595 Bytes
Versions: 3
Compression:
Stored size: 595 Bytes
Contents
module Laundry module PaymentsGateway class SocketDriver < MerchantAuthenticatableDriver # Setup WSDL def self.wsdl if Laundry.sandboxed? "https://ws.paymentsgateway.net/pgtest/paymentsgateway.asmx?WSDL" else "https://ws.paymentsgateway.net/pg/paymentsgateway.asmx?WSDL" end end actions "ExecuteSocketQuery" def exec(options = {}) execute_socket_query(options) do http.headers["SOAPAction"] = "http://paymentsgateway.achdirect.com/ExecuteSocketQuery" end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems