Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

While updating Order returns TypeError: no implicit conversion of Symbol into Integer #21

Open
CostasHa opened this issue Sep 9, 2021 · 1 comment

Comments

@CostasHa
Copy link

CostasHa commented Sep 9, 2021

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'

@denjamio
Copy link

Use Prestashop::Mapper::Order.update(id, options) should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants