Ok this is weird. This was working fine. But now it is not. I have the checkout set up as cart, payment, login (registration). When a user purchases the product, they are directed to the cart, payment and registration page fine but when they click on register, they are then taken to a blank page and not redirected to the Authorize.net.
I have not changed a thing except I added Akeeba subscriptions. I have since uninstalled Akeeba to see if that helped and it does not. When I take out the code to log out the user, the user is redirected to authorize.net to pay and then redirected back to the site, but the ACL does not work properly until the user logs out and then logs back in.
How can I get this to work properly with logging the user out after checkout so that after payment they need to log in?