Getting Order receipt for an order which I haven't paid using PayPal Standard

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 年 前
Payment method : PayPal Standard

How to reproduce
------------------

Add couple of items to cart-> Go to checkout -> select payment method (PayPal Standard [IMPORTANT])

Once you confirm the order , it will redirect you to paypal website...

On paypal website , don't pay -> Click cancel in paypal -> It redirect you back to the nopcommerce website..


Now the customer hasn't paid for the order.

Bug 1 -> But as a customer I get an Order receipt email.

Bug 2 -> But as a store admin  I get a new order notification email.



The expected behaviour should be Email is sent only after the customer has paid for the otherwise , it is confusing for store admin , and some dodgy customers can trick you saying I have the order receipt from you , but I haven't got the item.
8 年 前
Go to admin area -> Content Management -> Message templates.
Here you can see all message templates which can be sent to store owner and customer.
In your case uses the following templates when the order just placed (not paid):
OrderPlaced.CustomerNotification
OrderPlaced.StoreOwnerNotification

Just uncheck their 'Is active' field.

If you want to get notification when the order is paid, activate the following templates:
OrderPaid.CustomerNotification
OrderPaid.StoreOwnerNotification
8 年 前
Hi

I want to attach the order invoice PDF in the OrderPaid.CustomerNotification email.  How do I do that?
8 年 前
Hi,

to do that check the following field: admin area -> Configuration -> Settings -> Order Settings -> Attach PDF invoice ("order paid" email)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.