lib/active_merchant/billing/gateways/sage_pay.rb in activemerchant-1.126.0 vs lib/active_merchant/billing/gateways/sage_pay.rb in activemerchant-1.129.0
- old
+ new
@@ -425,10 +425,10 @@
end
def past_purchase_reference?(payment_method)
return false unless payment_method.is_a?(String)
- payment_method.split(';').last == 'purchase'
+ %w(purchase repeat).include?(payment_method.split(';').last)
end
end
end
end