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

Fatal error: Call to a member function GetContent() on a non-object in confirm.php

Thread began 10/20/2011 11:04 am by michael271305 | Last modified 11/07/2011 1:19 pm by michael271305 | 5609 views | 19 replies

michael271305

Hi Jason

I appreciate where you are coming from but the FAQs for the product do not make this clear. While I understand WA are trying to provide a product capable of handling different solutions and can see the benefit of this, it is the lack of clear documentation that complicates matters.

Notwithstanding, I have pushed on with trying to understand how the confirmation email can be issued using other developer's experiences as can be found in the forums.

I added Universal Email to the checkout success page, which I beleive both Paypal as the payment gateway and Sage Pay Forms (have not had the chance to test this yet) will return the customer to after the credit card information has been obtained and the payment processed. Both using remote gateway services.

I then edited the Universal email settings to the following:

From: set to a generic email address orders@ which is not a real address but I imagine works similar to forms@ for the contact form solution pack.

To: <?php echo $_SESSION['eCartCheckoutForm_email']; ?>

BCC: I set this to the business email (currently my email address for testing)

I edited the actual email body to introduce headings and pulled in the following elements from the bindings panel to include the customer's details:

Name: {Session.eCartCheckoutForm_firstname} {Session.eCartCheckoutForm_lastname}

Address:{Session.eCartCheckoutForm_street1},{Session.eCartCheckoutForm_street2},{Session.eCartCheckoutForm_city},{Session.eCartCheckoutForm_state_province},{Session.eCartCheckoutForm_postcode}

Contact No:{Session.eCartCheckoutForm_phone}

Contact Email:{Session.eCartCheckoutForm_email}

Lastly, I inserted a cart object (email friendly version) to display the cart contents as I imagine the session variable gets reset on the next use of the product page or through some coding in the success page. It will need some tweaking to better suit use in this context.

Doing this I have managed to have Universal Email issue a confirmation containing the information, however, this only goes to the email address picked up under the To field. The BCC field appears not to be read resulting in no email to the business which is critical for this simple system to work.

Advice on why the BCC field is being excluded during email creation would be appreciated.

Thanks

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