When a user adds a product in his cart and clicks to checkout and select the PayPal method.
He redirected to PayPal site for payment and for some reason if he cancels the order, he gets redirected to cart page with cancel order notification and in admin cancel order stored.
But the issue is that the user gets the order confirmation mail.
I am unable to debug anything in this.
I am using Magento 18.104.22.168