lib/active_merchant/billing/integrations/pxpay/helper.rb in activemerchant-1.31.1 vs lib/active_merchant/billing/integrations/pxpay/helper.rb in activemerchant-1.32.0

- old
+ new

@@ -78,9 +78,10 @@ def generate_request xml = REXML::Document.new root = xml.add_element('GenerateRequest') @fields.each do | k, v | + v = v.slice(0, 50) if k == "MerchantReference" root.add_element(k).text = v end xml.to_s end