lib/active_merchant/billing/gateways/creditcall.rb in activemerchant-1.85.0 vs lib/active_merchant/billing/gateways/creditcall.rb in activemerchant-1.86.0

- old
+ new

@@ -12,18 +12,18 @@ self.default_currency = 'USD' self.supported_cardtypes = [:visa, :master, :american_express, :discover] self.homepage_url = 'https://www.creditcall.com' self.display_name = 'Creditcall' - + CVV_CODE = { 'matched' => 'M', 'notmatched' => 'N', 'notchecked' => 'P', 'partialmatch' => 'N' } - + AVS_CODE = { 'matched;matched' => 'D', 'matched;notchecked' =>'B', 'matched;notmatched' => 'A', 'matched;partialmatch' => 'A', @@ -51,10 +51,10 @@ r.process { authorize(money, payment_method, options) } r.process { capture(money, r.authorization, options) } end merged_params = multi_response.responses.map(&:params).reduce({}, :merge) - + Response.new( multi_response.primary_response.success?, multi_response.primary_response.message, merged_params, authorization: multi_response.responses.first.authorization,