lib/active_merchant/billing/gateways/trans_first.rb in activemerchant-1.103.0 vs lib/active_merchant/billing/gateways/trans_first.rb in activemerchant-1.104.0
- old
+ new
@@ -131,9 +131,10 @@
add_pair(post, :Description, '', required: true)
end
def add_or_use_default(payment_data, default_value)
return payment_data.capitalize if payment_data
+
return default_value
end
def add_unused_fields(action, post)
return unless action == :purchase