close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Order confirmation after successful card process

Thread began 5/21/2010 10:21 am by Badger | Last modified 8/24/2010 1:57 pm by Jason Byrnes | 1432 views | 15 replies |

Badger

Order confirmation after successful card process

I'm using eCart with SagePay and am in Test mode. How do I send a confirmation email after the payment is successful. The eCart default seems to send a confirmation going from the confirm page to the card details page. IE no good if the payment fails?

Sign in to reply to this post

Eric Mittman

If you have your users being sent to a checkout success page after successfully transacting then you could put the email on this page. To do so you would want to apply Universal Email to this page, then when you are setting up the message body add in a cart display and set it to the email friendly version. This should allow you to send an email receipt when the oder is successful.

Sign in to reply to this post

Badger

Thanks Eric. Works perfectly

Sign in to reply to this post

Eric Mittman

Cool, let us know if you have any other questions or if you run into any further problems.

Sign in to reply to this post

rob75685

hi Eric

Do you mind if I come in on this one please.

I'm trying to do the same - but can't get the email to send from the success page...

How do I set the UEmail up to do this?... I've tried 'before page load' and 'if cart isn't empty' triggers but nothing happens...


thanks

Sign in to reply to this post

Jason ByrnesWebAssist

how have you set the to address?


The email address should be stored i a session variable named eCartCheckoutForm_email


try using that as the to address.


you can make sure this session is set by adding the following on the success page for troubleshooting:

php:
<?php 

if(!session_id()); session_start();
echo(
$_SESSION["eCartCheckoutForm_email"]); 
?>
Sign in to reply to this post

rob75685

hi Jason

Thanks for your help.

I've just tried this but still no email... I've set the trigger to 'before page load'

I've attached my success page and the UEmail folder, if you could take a look please that would be great

thanks

Attached Files
robtownley.zip
Sign in to reply to this post

Jason ByrnesWebAssist

did you try echoing the session to see if it is being set?


what value does it echo?

If it is not being set, then the email will be sent.

Sign in to reply to this post

rob75685

hi Jason

I'm confused - I've added this code, and it returns the correct email address... so shouldn't it be sending the email?...

Sign in to reply to this post

Jason ByrnesWebAssist

you are using the customeremail session for the to address.


use the eCartCheckoutForm_email session variable instead.

Sign in to reply to this post
loading

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...