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

send mail on clicking ecart's "Submit Order" button

Thread began 6/05/2009 9:05 am by pbartelt102585 | Last modified 6/11/2009 4:31 pm by Ray Borduin | 4439 views | 8 replies |

pbartelt102585

send mail on clicking ecart's "Submit Order" button

How can I send an email on a confirm.php (ecart) when the "Submit Order" button is clicked? The trigger "Button: Submit_order pressed" doesn't work. In the meantime I selected the trigger "any form post" but that's a bad solution because there is also the "Modify Information" button on the form and, last but not least, every time when the page is loaded the trigger is fired.

I use the PayPal Express Checkout. Hitting the "Submit Order" button redirects to PayPal.

Many thanks in advance.

Peter

Sign in to reply to this post

Ray BorduinWebAssist

You would probably have to send the email after the user has returned from paypal.

Are you using express checkout or standard checkout? Sounds like you might be using standard.

Sign in to reply to this post

pbartelt102585

Bloody beginner with ecart and ue. In the checkout wizard I selected "Remotely - Website Payments Standard", my client doesn't want a credit card option. Is that the reason why? In the meantime I could make a test order but I've never seen the checkout_success.php in the browser after the payment was done and logged out from PayPal. Do I have to be logged in to PayPal before I submit the order?

Sign in to reply to this post

Ray BorduinWebAssist

If you are using Remote and Paypal Standard, then the only way to send an email is to use an IPN page.

You should not need to be logged in to paypal before you submit the order. It should prompt you to sign in when you click the checkout button on the confirm page.

Sign in to reply to this post

pbartelt102585

Thanks Ray.
In the meantime I found out that I forgot the values for the hidden form variables "return" and "cancel return" and fixed them. This works - but only if the one who has payed will click the "return to shop" button on the paypal page. So which advantages do I will get by using an IPN page and how does this work?
I also need the posted value for the OrderID (store cart summary in database) on the confirmation email and as the value for the hidden form variable "invoice" but I think this belongs to the ecart forum?
(sorry if there are any stupid questions)

Sign in to reply to this post

Ray BorduinWebAssist

IPN works even when they don't click the "return to shop" button and includes security that a simple redirect to success doesn't include.

The drawback is that it is often difficult to debug and complicated to understand. It sounds like the complexity of your application would require either IPN or a payment system other than paypal standard in order to pull off. The success page is not the answer.

Sign in to reply to this post

pbartelt102585

Thank you for that quick and clear answer. I will check these options, in order to make a decision.

Sign in to reply to this post

sales377016

I am having the same problem. A paypal developer has written a great program you can download and use for free, plus the forum is great and will walk you through it, but IPN does not solve the issue of emailing the customer. I've been told you would need to add your own email code for sending email receipts.

Here is the link to the developer site message?board.id=ipn&thread.id=14078
Believe me its worth getting!

Sign in to reply to this post

Ray BorduinWebAssist

You could use Universal Email on the IPN page to send an email receipt.

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