lib/active_merchant/billing/gateways/viaklix.rb in activemerchant-1.43.3 vs lib/active_merchant/billing/gateways/viaklix.rb in activemerchant-1.44.0
- old
+ new
@@ -167,15 +167,9 @@
result = preamble
result.merge!(parameters)
result.collect { |key, value| "ssl_#{key}=#{CGI.escape(value.to_s)}" }.join("&")
end
- def expdate(creditcard)
- year = sprintf("%.4i", creditcard.year)
- month = sprintf("%.2i", creditcard.month)
- "#{month}#{year[2..3]}"
- end
-
# Parse the response message
def parse(msg)
resp = {}
msg.split(self.delimiter).collect{|li|
key, value = li.split("=")