lib/active_merchant/billing/gateways/paystation.rb in activemerchant-1.103.0 vs lib/active_merchant/billing/gateways/paystation.rb in activemerchant-1.104.0

- old
+ new

@@ -1,9 +1,8 @@ module ActiveMerchant #:nodoc: module Billing #:nodoc: class PaystationGateway < Gateway - self.live_url = self.test_url = 'https://www.paystation.co.nz/direct/paystation.dll' # an "error code" of "0" means "No error - transaction successful" SUCCESSFUL_RESPONSE_CODE = '0' @@ -12,11 +11,11 @@ # TODO: check this with paystation self.supported_countries = ['NZ'] # TODO: check this with paystation (amex and diners need to be enabled) - self.supported_cardtypes = [:visa, :master, :american_express, :diners_club ] + self.supported_cardtypes = [:visa, :master, :american_express, :diners_club] self.homepage_url = 'http://paystation.co.nz' self.display_name = 'Paystation' self.default_currency = 'NZD' @@ -193,10 +192,9 @@ end def format_date(month, year) "#{format(year, :two_digits)}#{format(month, :two_digits)}" end - end class PaystationResponse < Response def token @params['future_payment_token']