prestashop
prestashop copied to clipboard
While updating Order returns TypeError: no implicit conversion of Symbol into Integer
def update(id, update_xml) connection.put(table_sym, id, update_xml) end I double checked that id is integer and update_xml is xml string.
TypeError: no implicit conversion of Symbol into Integer from ../.rvm/gems/ruby-2.6.3/bundler/gems/prestashop-c931a38a92ac/lib/prestashop/api/converter.rb:38:in `parse_error'
Use Prestashop::Mapper::Order.update(id, options) should work