2082 Posts in 1002 Topics by 452 members
|Go to End|
15 May 2012 at 2:53am
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!
15 May 2012 at 8:35am Last edited: 15 May 2012 8:35am
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.
15 May 2012 at 10:23am
I believe version 0.6.1.
15 May 2012 at 11:06am
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):
..some upgrading help here:
If you want to try 0.8.3:
|Go to Top|