I set 2 rules to send different emails depending on the payment method whether "Bank transfer" of "Paypal(WSP)"

for "Bank transfer"
event: Order checkout complete
condition: Filter order by status -> "Pending"
action: Send mail -> mail for Rule 1

for "Paypal(WSP)"
event: Order checkout complete
condition: Filter order by status -> "Complete"
action: Send mail -> mail for Rule 2

But it always send the mail for Rule 2 even if the checkout is completed with "Paypal(WSP)".
How can I set this up?

Comments

tinker’s picture

Status: Active » Closed (fixed)

Your rules do not act on different payment methods they act on different order statuses. Since an order will always go through status 'pending' to status 'completed' (if successful), irrespective of payment types, your rules will not function as you desire. This module does not provide conditional checks on the payment type so you cannot currently do what you want.

I am marking this issue 'closed (fixed)' because hopefully I have answered your question and in the effort to close old issues that are no longer relevant. If this is still a problem for you please reopen this issue as a feature request since the functionality you seek does not currently exist.