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 number not showing on email receipt but is showing up on checkout_success.php

Thread began 6/27/2013 6:01 pm by robvoigt9434728 | Last modified 6/28/2013 3:56 pm by robvoigt9434728 | 393 views | 6 replies |

robvoigt9434728

Order number not showing on email receipt but is showing up on checkout_success.php

Hello, Somehow my order numbers quit showing up on the email receipts, even though the order number does show on the checkout_success.php page. And the order number is being stored in the database.

This is a new issue for me. I added server validations a couple of weeks ago but I don't think any of those changes should have effected the email receipts.

Any suggestions on why the email receipts would stop showing the order numbers?

Sign in to reply to this post

Jason ByrnesWebAssist

attach a copy of the confirm page please.

Sign in to reply to this post

robvoigt9434728

Thanks Jason

Sign in to reply to this post

Jason ByrnesWebAssist

the code to send the email is at line 423 - 510, this is before the code to store the order summary which creates the order number. The order summary code start at line 51.


at line 625 - 630 isthe following code block:

php:
<?php

if ($eCart1->IsEmpty())     {
  
$eCart1->redirStr "cart.php";
  
$eCart1->cartAction "RedirectIfEmpty";
}
?>



move the email code block from line 423 - 510 to be just before that code block

Sign in to reply to this post

robvoigt9434728

I made this correction and the order number now appears on the email receipt. However now when I click Submit Order from confirm.php, the order goes though but the page remains on confirm.php and does not go to checkout_success.php.

What correction do you suggest?

I have the updated confirm.php attached privately.

Thanks Jason

Sign in to reply to this post

Jason ByrnesWebAssist

you left a blank line between php tags at line 423. lines 421 - 424 are:

php:
<?php require_once("webassist/email/mail_php.php"); ?>

<?php 
require_once("webassist/email/mailformatting_php.php"); ?>

<?php



change that to:

php:
<?php require_once("webassist/email/mail_php.php"); ?>

<?php 
require_once("webassist/email/mailformatting_php.php"); ?>
<?php
Sign in to reply to this post

robvoigt9434728

That was it. Thanks again Jason for your help.

Rob

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