Hi developers !
I have a small problem with prestashop 1.5 , I'm using a module to process orders via API , and every order I must send a message to customer ( customer buy a virtual product , is a code ) ,
I have 2 websites connected via API ,
site A is parent site , site B is a child site
when i send message from site A admin , the customer in child site can read message in his order history well , but when i send message from site B ( i set some products to not work with API to process orders by hand ) , the customer in same site B doesnt see any message in his order history .
I need solution today and which files to edit ?
Regards
Hi
The problem seems to be in the way you are calling API from B to A.
API calls either need to have a call back function or if you are calling them through Ajax then check the feedback returned by API call.
You can update the database in site B either in call back function or on success response from Ajax code if you are using AJax to call the API.
I can't inform you the files without looking at the codes. But if you provide me the access to your code files, I can surely solve this in couple of hours max.
I shall need API documentation (or atleast a description of request and response parameters)
Regards,
Asad