1
Answers
Vote up!
0
Vote down!

Is there a payment method token for use in e-mails?

I'm using the Commerce Email module. I'd like to send two types of order email dependent on the payment method. I support two payment methods: COD and Bank Transer.

How can I send one email for payment COD and another one for payment Bank Transfer?

I thought It would be possible to expose a payment token, but Commerce Email has no payment token. I need a token showing the chosen payment method (and its details) during the checkout process. If I could use a token like this I wouldn't need two emails, only one.

Asked by: gulyasmarci
on February 8, 2013

1 Answer

Vote up!
1
Vote down!

Your question seems to ask one thing before veering into another. It appears you've already found and are using the Selected payment method comparison condition that I would have recommended to you if your question were just about figuring out how to send two different types of e-mails.

There is no payment method token, which is why you can't find it in the Commerce Email module. To be notified when we do add one, follow this core feature request for payment method token support. Note that this is not a token for use in Rules data selectors, so it won't replace the condition mentioned above.

Ryan Szrama
Answer by: Ryan Szrama
Posted: Feb 12, 2013