lib/active_merchant/billing/integrations/ipay88/helper.rb in activemerchant-1.42.2 vs lib/active_merchant/billing/integrations/ipay88/helper.rb in activemerchant-1.42.3
- old
+ new
@@ -105,10 +105,10 @@
def sig_components
components = [merchant_key]
components << fields[mappings[:account]]
components << fields[mappings[:order]]
- components << amount_in_dollars.to_s.gsub(/0+$/, '').gsub(/[.,]/, '')
+ components << amount_in_dollars.gsub(/[.,]/, '')
components << fields[mappings[:currency]]
components.join
end
end
end