# File lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb, line 4 def self.included(base) base.default_currency = 'USD' base.class_inheritable_accessor :partner # Set the default partner to PayPal base.partner = 'PayPal' base.supported_countries = ['US', 'CA', 'SG', 'AU'] base.class_inheritable_accessor :timeout base.timeout = 60 # Enable safe retry of failed connections # Payflow is safe to retry because retried transactions use the same # X-VPS-Request-ID header. If a transaction is detected as a duplicate # only the original transaction data will be used by Payflow, and the # subsequent Responses will have a :duplicate parameter set in the params # hash. base.retry_safe = true end