lib/paybox_system/rails/helpers.rb
# Add all formatted params as hidden fields
Add all formatted params as hidden fields
Add all formatted params as hidden fields
def paybox_hidden_field_tags(opts = {})
        formatted_params = PayboxSystem.formatted_params(opts)
        capture do
          formatted_params.each do |name, value|
            value = opts[:porteur] if name == 'PBX_PORTEUR'
            concat hidden_field_tag(name, value)
          end
        end
      end
def paybox_hidden_field_tags ( opts = { } ) formatted_params = PayboxSystem . formatted_params ( opts ) capture do formatted_params . each do | name , value | value = opts [ :porteur ] if name == 'PBX_PORTEUR' concat hidden_field_tag ( name , value ) end end end
Add all formatted params as hidden fields
Add all formatted params as hidden fields
opts