lib/active_merchant/billing/gateways/safe_charge.rb in activemerchant-1.71.0 vs lib/active_merchant/billing/gateways/safe_charge.rb in activemerchant-1.72.0

- old
+ new

@@ -11,11 +11,11 @@ self.supported_cardtypes = [:visa, :master] self.homepage_url = 'https://www.safecharge.com' self.display_name = 'SafeCharge' - VERSION = '4.0.4' + VERSION = '4.1.0' def initialize(options={}) requires!(options, :client_login_id, :client_password) super end @@ -116,9 +116,11 @@ post[:sg_ClientPassword] = @options[:client_password] post[:sg_ResponseFormat] = "4" post[:sg_Version] = VERSION post[:sg_ClientUniqueID] = options[:order_id] if options[:order_id] post[:sg_UserID] = options[:user_id] if options[:user_id] + post[:sg_AuthType] = options[:auth_type] if options[:auth_type] + post[:sg_ExpectedFulfillmentCount] = options[:expected_fulfillment_count] if options[:expected_fulfillment_count] end def add_payment(post, payment) post[:sg_NameOnCard] = payment.name post[:sg_CardNumber] = payment.number