Setup PayPal: Auto redirect customer back to website after payment

Objective: Auto redirect customer back to website from PayPal after payment completed. 

To redirect the customer to support the below task: 

  • Run script for tracking 
  • Allow system update order status for payment, especially IPN delay. 

 

Guide:  https://www.paypal.com/us/smarthelp/article/how-do-i-use-paypal's-auto-return-feature-to-redirect-customers-back-to-my-website-faq3651

The URL for your redirect customer back to your website will be www.YourDomain.com/cart/checkout/complete