lib/active_merchant/billing/gateways/exact.rb in activemerchant-1.99.0 vs lib/active_merchant/billing/gateways/exact.rb in activemerchant-1.100.0

- old
+ new

@@ -13,23 +13,19 @@ :capture => '32', :credit => '34' } ENVELOPE_NAMESPACES = { 'xmlns:xsd' => 'http://www.w3.org/2001/XMLSchema', 'xmlns:env' => 'http://schemas.xmlsoap.org/soap/envelope/', - 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance' - } + 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance'} SEND_AND_COMMIT_ATTRIBUTES = { 'xmlns:n1' => 'http://secure2.e-xact.com/vplug-in/transaction/rpc-enc/Request', - 'env:encodingStyle' => 'http://schemas.xmlsoap.org/soap/encoding/' - } + 'env:encodingStyle' => 'http://schemas.xmlsoap.org/soap/encoding/'} SEND_AND_COMMIT_SOURCE_ATTRIBUTES = { 'xmlns:n2' => 'http://secure2.e-xact.com/vplug-in/transaction/rpc-enc/encodedTypes', - 'xsi:type' => 'n2:Transaction' - } + 'xsi:type' => 'n2:Transaction'} POST_HEADERS = { 'soapAction' => 'http://secure2.e-xact.com/vplug-in/transaction/rpc-enc/SendAndCommit', - 'Content-Type' => 'text/xml' - } + 'Content-Type' => 'text/xml'} SUCCESS = 'true' SENSITIVE_FIELDS = [ :verification_str2, :expiry_date, :card_number ]