Hello all,
What strategy do you use to have your website detect whether the cart has expired?
The best solution I have come up with so far is to catch exceptions thrown by GetTicketExpiration() or by GetCart(), but it seems clunky to have the API throw exceptions.
Alternatively, I could have the site remember the cart expiration time for each user whenever he or she first adds seats to the cart, but this creates another issue of syncing times between the website server and Tessitura Web API server.
Thanks for your input,
Bryan
Hi Bryan,
I am doing the first solution you list. On the pages that are part of the cart/check out process I display the minutes left. The minutes left get updated on a page refresh or load.
Having the site remember is not a bad idea either. I am not sure but do you think the times/minutes would be that far off? You could always maybe have a client site ajax call to check the minutes left in the session and then update the client appropriatley.
Jon
Thanks. It's good to know that my solution isn't off base.