GPCsolutions / doliwoo

Dolibarr WooCommerce integration
https://gpcsolutions.github.io/doliwoo
39 stars 35 forks source link

improve order creation user experience when using DoliWoo #86

Open altairis-tof opened 8 years ago

altairis-tof commented 8 years ago

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 ?

altairis-tof commented 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.

altairis-tof commented 8 years ago

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.