lib/active_merchant/billing/gateways/linkpoint.rb in activemerchant-1.3.1 vs lib/active_merchant/billing/gateways/linkpoint.rb in activemerchant-1.3.2
- old
+ new
@@ -142,10 +142,10 @@
def recurring(money, creditcard, options={})
requires!(options, [:periodicity, :bimonthly, :monthly, :biweekly, :weekly, :yearly, :daily], :installments, :order_id )
options.update(
:ordertype => "SALE",
- :action => "SUBMIT",
+ :action => options[:action] || "SUBMIT",
:installments => options[:installments] || 12,
:startdate => options[:startdate] || "immediate",
:periodicity => options[:periodicity].to_s || "monthly",
:comments => options[:comments] || nil,
:threshold => options[:threshold] || 3