lib/active_merchant/billing/gateways/blue_pay.rb in activemerchant-1.107.4 vs lib/active_merchant/billing/gateways/blue_pay.rb in activemerchant-1.108.0

- old
+ new

@@ -380,12 +380,12 @@ else message = message.chomp('.') end elsif message == 'Missing ACCOUNT_ID' message = 'The merchant login ID or password is invalid' - elsif message =~ /Approved/ + elsif /Approved/.match?(message) message = 'This transaction has been approved' - elsif message =~ /Expired/ + elsif /Expired/.match?(message) message = 'The credit card has expired' end message end