close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

confirmation email empty

Thread began 7/05/2016 9:48 am by rob75685 | Last modified 7/14/2016 11:23 am by Ray Borduin | 1025 views | 4 replies |

rob75685

confirmation email empty

hi guys

I have eCart running well on a site, but having some intermittent glitches regarding the confirmation email that the customer receives... any help would be greatly appreciated thank you.

The process is:

Cart -> Checkout form -> Confirm page -> Sagepay payment

On successful payment the customer gets redirected back to the website where the first page updates the database order with the SagePay txCode etc and then sends a confirmation email to the customer. Then it directs again to a final thank you page.

What happens sometimes is that the SagePay order goes through but the email confirmation says "The cart is empty" and the order details are empty. And the database is not updated either.

Sounds like an empty session, but I've made sure that the landing pages after SagePay do not clear any session data. Happens intermittently too which is odd.

If you don't mind taking a quick look - I've attached the landing page here. You'll see that there's an Update server behaviour followed by an email submission.

many thanks

Sign in to reply to this post

Ray BorduinWebAssist

It is probably an issue with people coming to your web site with http://www.yourdomain.com and then you returning them to http://yourdomain.com.

They will act as different sites and have different sessions so if you shop with one and return to the other the cart will be empty. The best solution is to use .htaccess to force people to always (or never) have www. in the url and make sure to return to the same version. Just google "htaccess force www" and you will see how it is done.

Sign in to reply to this post
Did this help? Tips are appreciated...

rob75685

hi Ray

Thanks very much for your reply.

No I've got the success URL correct:

$optionArray['SuccessURL'] = "http://www.earlyyearsdirect.com/checkout_success_sagepay.php";

any other thoughts ?

Sign in to reply to this post

Ray BorduinWebAssist

Exactly... that means if people start at http://earlyyearsdirect.com/ when they come back the cart will be empty. You need to force it to always use www. if it is in your redirect. I can go to http://earlyyearsdirect.com/ and that would cause the issue.

Sign in to reply to this post
Did this help? Tips are appreciated...

rob75685

Awesome thanks Ray - I've had no complaints since so I guess that's fixed the issue.

Thanks again for your help with this.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...