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 orders by e-mail

Thread began 4/28/2010 12:13 pm by olecram2605406200 | Last modified 4/30/2010 2:19 pm by Eric Mittman | 987 views | 7 replies |

olecram2605406200

Send orders by e-mail

I'm using eCart version 4.0.2 and have just a little problem:

The virtual shop I'm developing uses a different payment system. This system requires only that I have received orders by email, with customer data. How do this?

Thanks

Sign in to reply to this post

Eric Mittman

I would strongly recommend that you do not send any billing details like credit card info via email, it is not secure and can be illegal in many circumstances.

If you would just like to gather some details from the user instead of send them to a checkout you could have a page with a form on it that the user fills in, then you can apply Universal Email to the page to have the info sent to you. You would just need to craft the message body and use the bindings for the form to get the values in the email.

On your cart page you would just adjust the checkout server behavior to go to this new page you have created.

Sign in to reply to this post

olecram2605406200

Thanks for the help Eric, but I have another question:

Is possible I use eCart without have an payment gateway?

This because I wil use another kind of payment system. So I need recieve only the data about the order and the costumers. No card number. It is possible?

Sign in to reply to this post

Eric Mittman

Yes, you use eCart without a gateway. When you run the wizard you will just select no gateway. You would then have the pages setup like a regular checkout with the checkout form and UE sending an email receipt. The user will always go to the checkout success page if you have no gateway.

Sign in to reply to this post

olecram2605406200

Great Eric. But when I click in eCart Checkout Wizard, the first screen told me to select a payment gateway. In the list, there is no option to "no gateway", just de follow options: PayPal, Webassist, 2checkout, Autorize.net, eWay, Linkpoint, WorldPay.

I'm looking for in the wrong location?

My version is 4.0.2

Sign in to reply to this post

Eric Mittman

I know that you mentioned the version earlier but I missed it somehow. This is not an option in the version of eCart that you have. You can create a checkout page and go to the eCart insert bar and select 'checkout form'. This will add in a form to collect the details from the user.

Next you will apply Universal Email to the page to have the email sent. When you get to the body of the message you should craft it with DW, put in labels for the info that will be shown and then use the bindings to drag and drop the values for the checkout form into the message where you would like to see them. In the body of the email you will also want to insert a cart display manager, make sure to choose the email friendly cart option for this.

This is the basics, but there will be no transaction occurring, just the checkout page, and the email being sent. You can make a thank you page to send the user to immediately afterwards to let them know the order has been placed.

Sign in to reply to this post

olecram2605406200

So, if I want record orders information in mysql database, I have to insert two servers behavior in that page: "Store Cart Detail in Database" and "Store Cart Sumuary in Database", right?

Early, I do that but in mysql database only show one record per time. It can't record more than one record. You konw why?

Sign in to reply to this post

Eric Mittman

You are correct, you should use the store order summary and store order details server behaviors. There should be one recorded stored for the order in the orders table and a record for each item in the cart in the order details table.

The cart id is used to determine if it is a new order or an update to an existing order. You will need to reset this value after you go through the checkout. This value is based on the php session id. You can regenerate this id to ensure that each order is recorded properly. The best place to do this would be on the thank you page that you send the user to after the email is sent.

On this page add in some code like this to the bottom of the page:

php:
<?php

if(!session_id()) session_start();
session_regenerate_id();
?>
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...