Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

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, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

Trouble with ecommmerce emails and paypal set up


Go to End


2 Posts   2841 Views

Avatar
badjedi

Community Member, 25 Posts

3 January 2009 at 8:38pm

Ive installed the ecommerce module, and all the pages display properly, as long as i only have the cheque payment method.

BUT no matter what payment method I have set, It wont send any confirmation emails to the email of purchaser or the admin email I have set.

I have set the email for order, and site admin, but to no avail.

Also cant get Paypal payment method to work after setting it up in the config file..

Any Ideas?

Avatar
kcd

Community Member, 54 Posts

15 January 2009 at 9:20pm

Yes there are two bugs I found. First there is a stray "/order" at the end of a link and second, the status update code opts to use the SS default admin email rather than the order email address for the 'from' address.

URL bug in OrderReport.php line 45:

	function Link() {
		return 'OrderReport_Popup/'; /*removed 'index' */
	}

You can fix the from email problem in Order.php or set the SS default and order address as follows (mysite/config file):

// Set the email of the admin who looks after receiving the order emails.
Order::set_email('admin@localhost.com');
//Webmaster email
Email::setAdminEmail('admin@localhost.com');

This is CMS 2.3.0 trunk and Ecommerce 0.60 trunk. I just got everything working.