lib/active_merchant/billing/gateways/paymill.rb in activemerchant-1.32.1 vs lib/active_merchant/billing/gateways/paymill.rb in activemerchant-1.33.0
- old
+ new
@@ -1,15 +1,15 @@
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
class PaymillGateway < Gateway
- self.supported_countries = %w(AD AT BE CY CZ DE DK EE ES FI FO FR GB GR
- HU IE IL IS IT LI LT LU LV MT NL NO PL PT
- SE SI SK TR VA)
+ self.supported_countries = %w(AD AT BE CH CY CZ DE DK EE ES FI FO FR GB GR
+ HU IE IL IS IT LI LT LU LV MT NL NO PL PT SE
+ SI SK TR VA)
self.supported_cardtypes = [:visa, :master]
self.homepage_url = 'https://paymill.com'
- self.display_name = 'Paymill'
+ self.display_name = 'PAYMILL'
self.money_format = :cents
self.default_currency = 'EUR'
def initialize(options = {})
requires!(options, :public_key, :private_key)
@@ -152,10 +152,10 @@
Response.new(succeeded, message, parsed, options)
end
def save_card_url
- (test? ? 'https://test-token.paymill.com' : 'https://token-v2.paymill.com')
+ (test? ? 'https://test-token.paymill.com' : 'https://token-v2.paymill.de')
end
def post_data(params)
no_blanks = params.reject { |key, value| value.blank? }
no_blanks.map { |key, value| "#{key}=#{CGI.escape(value.to_s)}" }.join("&")