We have a slight problem with our oscommerce store after installing the Purchase Without Account contribution:
http://addons.oscommerce.com/info/355
Everything works fine with the contribution, unless the customer registers as a guest but does not complete the checkout.
The contribution assumes that every customer who creates a guest account will complete the checkout, or logout if they don't, hence the temporary "guest account" is deleted from the shop database on checkout_success.php after an order is completed, or on logout.php when the customer logs out.
So if the customer registers as a guest, fails to complete the checkout, then logs out, their details are deleted from the database.
However, if they don't click "logout" after not completing the checkout, the customer's "guest" details are left in the database.
If the customer decides to come back later and complete the checkout, their "session" may be expired, but their details are still in the database, so if they try to checkout as a guest, the shop tells them to login (as their details are already in the database - same email etc), which leaves the customer quite confused.
So what we need to happen is that if a customer fails to checkout as a guest, once their session expires, (as it would for a normal customer if they are logged in and they leave the computer for a while), delete the temporary account created in the database for the guest account.
This way the customer can return later and create a new "guest account" without receiving any errors.
Hopefully someone can assist with this.
Cheers!
Latest News: (loading..)
Grant7
Member Since 10 Jul 2006Offline Last Active Yesterday, 23:31






Find content
Male

