lib/active_merchant/billing/gateways/blue_pay.rb in activemerchant-1.58.0 vs lib/active_merchant/billing/gateways/blue_pay.rb in activemerchant-1.59.0
- old
+ new
@@ -470,10 +470,10 @@
post[:delim_data] = "TRUE"
post[:delim_char] = ","
post[:encap_char] = "$"
post[:card_num] = '4111111111111111'
post[:exp_date] = '1212'
- post[:solution_ID] = application_id if(application_id && application_id != "ActiveMerchant")
+ post[:solution_ID] = application_id if application_id
post.merge(parameters).collect { |key, value| "#{key}=#{CGI.escape(value.to_s)}" }.join("&")
end
def expdate(creditcard)
year = format(creditcard.year, :two_digits)