lib/active_merchant/billing/gateways/payflow_uk.rb in activemerchant-1.1.0 vs lib/active_merchant/billing/gateways/payflow_uk.rb in activemerchant-1.2.0

- old
+ new

@@ -1,17 +1,21 @@ +require File.dirname(__FILE__) + '/payflow' +require File.dirname(__FILE__) + '/payflow_express_uk' + module ActiveMerchant #:nodoc: module Billing #:nodoc: class PayflowUkGateway < PayflowGateway self.default_currency = 'GBP' self.partner = 'PayPalUk' def express @express ||= PayflowExpressUkGateway.new(@options) end - def self.supported_cardtypes - [:visa, :master, :american_express, :discover, :solo, :switch] - end + self.supported_cardtypes = [:visa, :master, :american_express, :discover, :solo, :switch] + self.supported_countries = ['GB'] + self.homepage_url = 'https://www.paypal.com/uk/cgi-bin/webscr?cmd=_wp-pro-overview-outside' + self.display_name = 'PayPal Website Payments Pro (UK)' end end end