Open altairis-tof opened 8 years ago
i answer to myself : if implemented in client side javascript, the ajax request should call a doliwoo php script that trigger the webservice; it should not be a direct ajax call of the webservice for obvious security reasons.
i have found an asynchronous soap implementation here : https://github.com/Meabed/asynchronous-soap i will give it a try on another project to test it, but i'd be glad if you look at it and give me your feedback.
at the moment, when a user places an order, he will wait some seconds during the webservice communication with dolibarr. there is a big risk that the user leave the page or click another time on the checkout button ! we need to find a better technical solution : Maybe just call the webservice asynchronously with an ajax call ?