No Email for Reward Point Orders

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
Hello,

Using nopC 4.3.

I use the reward point system and it works with one small issue. If I pay the whole order with currency, I get an email. If I pay with partial points and partial currency, I get email. If I pay the whole order with points, I get NO email. When the total order is zero, no email is generated and nothing in the email queue for the all points order. Order is paid so email is supposed to be generated.

I know there is an issue with the points not hitting the order table for displaying on the invoice and pdf. Could this be related somehow?

Cannot figure this one out. What am I missing?

Regards
3 years ago
It seems to be by design.  (Note the comments):

\Libraries\Nop.Services\Orders\OrderProcessingService.cs
protected virtual void ProcessOrderPaid(Order order)
{
...
  //order paid email notification
  if (order.OrderTotal != decimal.Zero)
  {
    //we should not send it for free ($0 total) orders?
    //remove this "if" statement if you want to send it in this case
3 years ago
Thank you NY. Got it working.

Only been working in the source for a couple of months so I appreciate the help until I can get to know the structure and how things are laid out.

Regards
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.