Email not working(?)

0 views
Skip to first unread message

John McLaughlin

unread,
Nov 17, 2007, 1:13:23 PM11/17/07
to Potion Store Discussions
Hi All,

I've been playing around with the Potion Store (which has been a bit
of an adenture given my ruby foo was non existant 2 days ago) and for
the most part I've got it up and running with one exception.

Email: My understanding was that after orders the store would email
the purchaser as well as bcc me -- I've set up the store.yml to point
to all of the appropriate email's and I know email is working because
if I go to manually "email purchase receipt" it works fine but at time
of order it stubbornly refuses to send an email.

Is there anything obvious I'm missing?

By the way, I've been really impressed by what the Potion store guys
did -- it's really a very complete store. I've also started to
understand why so many folks like ROR.

-John

Andy Kim

unread,
Nov 17, 2007, 3:34:28 PM11/17/07
to potion...@googlegroups.com
Hi John,

The thank you email isn't sent out in the development environment. I
have it like that because the emails get in the way of testing other
things normally.

But you can turn it on. It's in line 232 of app/controllers/store/
order_controller.rb:

OrderMailer.deliver_thankyou(@order) if is_live()

It might be interesting to grep is_live to see what else is disabled
in non-production mode.

- Andy Kim
Potion Factory LLC

John McLaughlin

unread,
Nov 20, 2007, 5:36:12 PM11/20/07
to Potion Store Discussions
Hi Andy,

Thanks -- I successfully deployed Potion store on my sight yesterday
(https://store.loghound.com) and so far it's running very smoothly. I
use dreamhost as my web host which had some special challenges but I
took pretty good notes so I hope to add a new post in this group based
on my notes to help anyone else who might be considering the move.

At the end of the day it's not really that hard to get set up and it's
oh-so-nice to no longer be paying esellerate 15% off the top!

-John

Andy Kim

unread,
Nov 20, 2007, 9:00:37 PM11/20/07
to potion...@googlegroups.com
Hi John,

Congratulations on your new store. I know that with the current
documentation it's not trivial to get it up and running, especially
for a person who is new to ruby and rails.

I'll put a link to your store on the project page.

- Andy Kim
Potion Factory LLC

> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "Potion Store Discussions" group.
> To post to this group, send email to potion...@googlegroups.com
> To unsubscribe from this group, send email to potion-store...@googlegroups.com
> For more options, visit

Shane Crawford

unread,
Nov 21, 2007, 9:05:52 AM11/21/07
to potion...@googlegroups.com
John,
I am also currently using Dreamhost and would be very interested to
learn about your challenges and workarounds with the implementation.
Thanks so much for your efforts.

Thanks,
Shane

Reply all
Reply to author
Forward
0 new messages