lib/active_merchant/billing/integrations/payflow_link/helper.rb in jelaniharris-activemerchant-1.24.1 vs lib/active_merchant/billing/integrations/payflow_link/helper.rb in jelaniharris-activemerchant-1.29.1
- old
+ new
@@ -10,10 +10,10 @@
add_field('login', account)
add_field('echodata', 'True')
add_field('user2', self.test?)
add_field('invoice', order)
add_field('vendor', account)
- add_field('user', options[:credential4] || account)
+ add_field('user', options[:credential4].presence || account)
add_field('trxtype', options[:transaction_type] || 'S')
end
mapping :account, 'login'
mapping :credential2, 'pwd'