View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001056||OXID eShop (all versions)||1.03. Basket, checkout process||public||2009-06-30 17:50||2012-12-10 13:24|
|Product Version||4.1.3 revision 19918|
|Target Version||Fixed in Version||4.1.4 revision 21266|
|Summary||0001056: No time-out or error-handling for VIES web-service|
|Description||The check for ust-ids accesses |
If that service is down, the user gets an error-message after clicking next-step. If that service is slow, the user waits a few minutes after clicking next-stop (probably he will NOT wait, but exit the shop and wont order...)
The VIES service should have a short timeout (five seconds f.e.) and should proceed to payment-step, when it gets no answer in the given time.
The plausiblity-check of a given ust-id is not important enough to risk loosing a customer in the checkout.
||I added 5 sec timeout. Lets discuss more what should happens when service has not been reached. Unfortunately I cannot write unit tests for this case, due to outside connection.|
After checking code:
if service is not available, user can continue with order without any message and VATID status will be set to "0" (oxustidstatus field in oxuser table)