I'm using Checkout Login module that adds an inline login form to the account information checkout pane. No anonymous users have to activate their accounts to complete checkout or payment, which is all I want. However, after the PayPal redirects users back to my site, and users try to access the order (order history) page, the following message appears:
You are not authorized to access this page.
Is there a way I can re-direct users to login page when they try to access the order page, rather than the above message appearing?
In short, I want my users to be redirected to login page when they try to access order (order history) page, but not when they try to checkout.