Return to Welcome Page After 2CO Payment

After a user registers and pays using 2CO (in demo mode), user is correctly assigned the membership. It all works correctly except that user is redirected to site homepage, rather than the welcome page.

In 2CO,

Approved URL :

Direct Return : Header Redirect

In Membership Page Options, Registration Completed Page is set as Welcome Page, which exists and works correctly.

2CO redirects to /paymentreturn/twocheckout and user membership is correcly setup. However, plugin should direct to /welcome page rather than the homepage.