Jump to:

2084 Posts in 1004 Topics by 453 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Multiple Order Emails to User

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 544 Views
  • thomaso
    Avatar
    Community Member
    3 Posts

    Multiple Order Emails to User Link to this post

    We've added the E-commerce module for one of our websites and the way it works is users can come and purchase a membership (not a product). They enter in their details such as address, user name, password (because they have to create account for the records) and CC information. When a user hits submit and the payment gets processed the user then receives two emails. They are identical emails using the same email template (Order_ReceiptEmail.ss) except for one part which is Outstanding Balance. Seems the system sends an email before it gets processed and one after, so in the first email it says Outstanding Balance $50.00 and the second email it says Outstanding Balance $0.00.

    Since our users receive these two emails they sometimes think they got charged twice, when they actually didn't. Is there a reason why the module sends these two emails? Does someone know a way to just have the system send one email, preferably just the email after payment has been processed and says Outstanding Balance $0.00?

    Not sure if that is enough information, but hoping I can get some guidance on how to tweak the email autoresponders here. Thanks!

    Thomas

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: Multiple Order Emails to User Link to this post

    Hi Thomaso,

    I've heard of this issue before, and if it still exists in my latest code, I'd like to resolve it.
    Can you clarify which version of ecommerce you are using? Note that I maintain the 'shop' module, and not the ecommerce module. Shop is a fork of ecommerce.

    regards,
    Jeremy

  • thomaso
    Avatar
    Community Member
    3 Posts

    Re: Multiple Order Emails to User Link to this post

    I believe version 0.6.1.

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: Multiple Order Emails to User Link to this post

    Ah, in that case, I think the issue has been resolved.

    I would suggest you try to upgrade to the latest version, or diving into the code to understand and find where the extra email is being sent...I suspect it is something to do with the Order onBeforeWrite (or onAfterWrite) function ...where the system used to perform the saving of an order, triggering an email.

    I have version 0.8.3 of shop out currently, with another version not far off. The latest (unreleased) code is pretty stable at the moment, and I'm also writing a migration script to help upgrade from older versions.

    If you want to try latest (unreleased):
    https://github.com/burnbright/silverstripe-shop/zipball/master
    ..some upgrading help here:
    http://demo.ss-shop.org/docs/developer/en/Upgrading

    If you want to try 0.8.3:
    http://ss-shop.org

    544 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.