You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 24, 2021. It is now read-only.
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 ?
The text was updated successfully, but these errors were encountered:
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.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 ?
The text was updated successfully, but these errors were encountered: