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

could not set customer data in CartCustomer #28

Open
alokumar1 opened this issue Jun 10, 2021 · 0 comments
Open

could not set customer data in CartCustomer #28

alokumar1 opened this issue Jun 10, 2021 · 0 comments

Comments

@alokumar1
Copy link

alokumar1 commented Jun 10, 2021

Specifications

  • Version: 1.9.2.4
  • Platform: ubuntu 18

I was trying to create an order so first i created a cart and then added product data then address the proceeded to add customer data but while setting it is giving me an error
my customer data is like this

{
                'firstname': 'testname,
                'lastname': 'testlast',
                'email': '[email protected]',
                'mode': 'admin'
            }

so while runnig this i am getting error
client.cart_customer.set(2174529, customer_data)

  File "<stdin>", line 1, in <module>
  File "/home/python-magento/magento/checkout.py", line 168, in set
    [quote_id, customer_data, store_view])
  File "/home/python-magento/magento/api.py", line 202, in call
    return self.client.call(self.session, resource_path, arguments)
  File "/usr/lib/python3.6/xmlrpc/client.py", line 1112, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python3.6/xmlrpc/client.py", line 1452, in __request
    verbose=self.__verbose
  File "/usr/lib/python3.6/xmlrpc/client.py", line 1154, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python3.6/xmlrpc/client.py", line 1170, in single_request
    return self.parse_response(resp)
  File "/usr/lib/python3.6/xmlrpc/client.py", line 1342, in parse_response
    return u.close()
  File "/usr/lib/python3.6/xmlrpc/client.py", line 656, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault 1: 'Internal Error. Please see log for details.'>

How to resolve this and where to see logs? please help.

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

No branches or pull requests

1 participant