Jump to content
JACUK

Order confirmation emails not including product details

Recommended Posts

Hi,

I originally posted this on the General forum but did not get any response to the issue, so have reposted here hoping someone can offer some suggestions.

On completion of a test transaction through Worldpay and returning to the sucessful order page i have checked confirmation emails and they have all been sent to the required email addresses.

All the info is in the email except a list of the products ordered! Order values, delivery & billing address all visible, just no products.

When you go into Admin>Orders the order is displaying properly with products listed.

osCommerce Online Merchant v2.3.4.1 CE Responsive

Worldpay Hosted Payment Pages - file attached

I have also attached a text version of the email generated by the shop in case it helps to identify where the issue may be.

Any help to get over what I hope now is the last hurdle would be much appreciated.

Regards,

order confirmation email.txt

rbsworldpay_hosted.php

Share this post


Link to post
Share on other sites

This is a long standing bug in the community version of osc, a fix for which was provided but never merged.

Use my addon instead which has the bug fixed plus some other features

- automated return to the checkout payment page if they cancel out of worldpay (standard module leaves you stuck on a cancelled page)

- records the detail of checking in the order status history so you can instantly see if the address, postcode, CV2, 3d secure and country ip matched from within osc admin

https://apps.oscommerce.com/brAIY&worldpay-hosted-payments-extended


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (2.3.4.1 CE).

here: https://github.com/gburton/Responsive-osCommerce/releases

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post


Link to post
Share on other sites

Hi John,

Thanks for this, very much appreciated. Will get the addon downloaded and incoporated into the installation this afternoon, just off to a client meeting so will be working on this as soon as I get back.

I will let you know what happens.

Thanks again.

Regards,

Julian

Share this post


Link to post
Share on other sites
9 minutes ago, BrockleyJohn said:

This is a long standing bug in the community version of osc, a fix for which was provided but never merged.

the code in your module is not up to date

          reset($order_total_modules->modules);
          while (list(, $value) = each($order_total_modules->modules)) {

will need to be changed

          foreach($order_total_modules->modules as $value) {

I don't think the module will fix the issue at hand with the email


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P


Support The Project
Documentation/Knowledgebase/Discussions
 

Share this post


Link to post
Share on other sites

@241 thanks for the php7.2 flag - will upload an update

It absolutely does cure the overwrite of the order object.


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (2.3.4.1 CE).

here: https://github.com/gburton/Responsive-osCommerce/releases

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post


Link to post
Share on other sites

Hi John,

Copied all the updated files to their directories, walked through the shop to generate an order, paid with worldpay in test mode with test card numbers.

Everything worked brilliantly, returned to the Order Processed page, emails generated and now include details of the products ordered. Total sucess.

Could i ask a small follow up - I want to format the emails into something a little more "modern" that the basic style at the moment - I have found the following add-on that may offer a solution

https://apps.oscommerce.com/0DBME

Are you aware of this add-on and whether it would cause any issues with your add-on? Or are you aware of any other solutions?

Thanks again.

Julian

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×