lib/active_merchant/billing/gateways/pro_pay.rb in activemerchant-1.101.0 vs lib/active_merchant/billing/gateways/pro_pay.rb in activemerchant-1.102.0
- old
+ new
@@ -251,10 +251,10 @@
def add_recurring(xml, options)
xml.recurringPayment options[:recurring_payment]
end
def parse(body)
- results = {}
+ results = {}
xml = Nokogiri::XML(body)
resp = xml.xpath('//XMLResponse/XMLTrans')
resp.children.each do |element|
results[element.name.underscore.downcase.to_sym] = element.text
end