lib/active_merchant/billing/gateways/payment_express.rb
# Take in the request and post it to DPS
Take in the request and post it to DPS
Take in the request and post it to DPS
def commit(action, request)
        add_credentials(request)
        add_transaction_type(request, action)
        response = parse( ssl_post(URL, request.to_s) )
        PaymentExpressResponse.new(response[:success] == APPROVED, response[:response_text], response,
          :test => response[:test_mode] == '1',
          :authorization => response[:dps_txn_ref]
        )
      end
def commit ( action , request ) add_credentials ( request ) add_transaction_type ( request , action ) response = parse ( ssl_post ( URL , request . to_s ) ) PaymentExpressResponse . new ( response [ :success ] == APPROVED , response [ :response_text ] , response , :test => response [ :test_mode ] == '1' , :authorization => response [ :dps_txn_ref ] ) end
Take in the request and post it to DPS
Take in the request and post it to DPS
# Parse the XML response # Return a response
action
<not_specific>
request
<not_specific>