Order placed only being sent when payment method is paypal

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 Jahre weitere
we allow check, auth.net, and paypal and for some reason paypal is the only one that sends the customer an order placed email.  we've checked the email account assigned to that message and it works fine.  if the order is cancelled, shipped, etc. the customer is notified.  thoughts?!

nop 2.65
we are also using shippingmanager plugin
9 Jahre weitere
Check the message queue (Admin > System > Message Queue).  Is anything there that did not go out?
9 Jahre weitere
15 messages are in the que that weren't sent but none of them are order placed messages
9 Jahre weitere
There is not any condition that it only send order placed for paypal if you are using authorize.net and it will not send any order place notification until the payment is success as after payment success it will place the orders
9 Jahre weitere
Even when payment is successful using auth.net the email is still not sent
9 Jahre weitere
[email protected] wrote:
Even when payment is successful using auth.net the email is still not sent


Is it adding the message queue for order Placed ??

do you have any customization on order processing ?? as if its fresh then it should work
9 Jahre weitere
[email protected] wrote:
Even when payment is successful using auth.net the email is still not sent


In addition with Mr. vipul.dumaniya

Check, Is  SentTries exceed the MaxTries  Property?
9 Jahre weitere
Message is not queued, where do I check those settings? I'm fairly new to nop
9 Jahre weitere
[email protected] wrote:
Message is not queued, where do I check those settings? I'm fairly new to nop



which version of nop are you using ??
do you have any customization ??

you need to got to Nop.Services/Orders/OrderProcessingService.cs

check the PlaceOrder method and need to debug that methods by using authorize.net as payment option

if you know how to debug you need to debug the PlaceOrder methods

find the keyword "#region Notifications & notes" and place debug points there and check that its processing below funtion

var orderPlacedAttachmentFilePath = _orderSettings.AttachPdfInvoiceToOrderPlacedEmail ?
                        _pdfService.PrintOrderToPdf(order, order.CustomerLanguageId) : null;
                    var orderPlacedAttachmentFileName = _orderSettings.AttachPdfInvoiceToOrderPlacedEmail ?
                        "order.pdf" : null;
                    int orderPlacedCustomerNotificationQueuedEmailId = _workflowMessageService
                        .SendOrderPlacedCustomerNotification(order, order.CustomerLanguageId, orderPlacedAttachmentFilePath, orderPlacedAttachmentFileName);
                    if (orderPlacedCustomerNotificationQueuedEmailId > 0)
                    {
}


orderPlacedCustomerNotificationQueuedEmailId should have unique value of messageQueue Id
9 Jahre weitere
[email protected] wrote:
Message is not queued, where do I check those settings? I'm fairly new to nop


Hi

Using this  "/Admin/MessageTemplate/List" check your desired MessageTemplate IsActive ?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.