lib/active_merchant/billing/gateways/ipp.rb in activemerchant-1.112.0 vs lib/active_merchant/billing/gateways/ipp.rb in activemerchant-1.113.0
- old
+ new
@@ -16,11 +16,11 @@
STANDARD_ERROR_CODE_MAPPING = {
'05' => STANDARD_ERROR_CODE[:card_declined],
'06' => STANDARD_ERROR_CODE[:processing_error],
'14' => STANDARD_ERROR_CODE[:invalid_number],
- '54' => STANDARD_ERROR_CODE[:expired_card],
+ '54' => STANDARD_ERROR_CODE[:expired_card]
}
def initialize(options={})
ActiveMerchant.deprecated('IPP gateway is now named Bambora Asia-Pacific')
requires!(options, :username, :password)
@@ -119,10 +119,10 @@
end
def commit(action, &block)
headers = {
'Content-Type' => 'text/xml; charset=utf-8',
- 'SOAPAction' => "http://www.ippayments.com.au/interface/api/dts/#{action}",
+ 'SOAPAction' => "http://www.ippayments.com.au/interface/api/dts/#{action}"
}
response = parse(ssl_post(commit_url, new_submit_xml(action, &block), headers))
Response.new(
success_from(response),