Discussions

I need info on payment method setup, not provided...

Hi all, I went here to find information on how to set up a payment method for Wire transfer, ie. just sum up the order and send an email, basically) and I looked here: https://drupalcommerce.org/commerce-kickstart-2/how-download-and-setup-p... but there is now information. Any ideas on how I could do this by setting up a new payment method rule (my guess). Thx! and PS, is this forum actually working; there is so much SPAM it's hard to tell :)

Posted: Nov 2, 2014

Comments

Jiggy Gaton on November 11, 2014

Excellent Josh, much appreciated. btw, does the stock template include a way to send out notifications to a customer when the order status changes, or do I have to somehow program that in? thx!

joshmiller Josh Miller on November 12, 2014

Drupal Commerce is built on a concept of psuedo code for business logic. The idea behind business logic is those things that control "how" your store runs and "what happens" when certain events take place. The psuedo code is called "Rules" and each rule has three things:

1. Event
2. Condition
3. Action

So, in your use case, you could easily create a rule that reacts on "Order Status Change" that sends an email to your client. One often used recipe that we set up in Commerce Kickstart 2 is an entity-based email templating system called "Message" http://drupal.org/project/commerce_message which comes with pre-built message templates for Order Status changes.

Good luck!
Josh