We are having a problem with how PayPal Express Checkout is functioning. We have the "Pay with PayPal" button showing on the shopping cart. However, when a customer clicks on that button it takes them to the Magento login page. The customer would then login to their account, or create a new account, on our Magento store and then they are redirected to PayPal. This is not how Express Checkout should work.
How it should work: The customer would click on the "Pay with PayPal" button on the shopping cart and then would be redirected to the PayPal website to enter their PayPal account information. After they login there and approve the charge it would redirect to our Magento store to complete the order.
We have this working on previous versions of Magento, 18.104.22.168, but it is not working on Magento version 22.214.171.124.
The link that is generated in the shopping cart is "https://www.mydomain.com/paypal/express/start/button/1/"
Any help would be appreciated.
Solved! Go to Solution.
I had a look at the code and it seems to be redirecting users to the registration page with guest checkout is prevented. Have a look at your configurations to see if that's the case. If not I'll see if I can recreate the problem on me end.
Thank you for your reply. In order to have PayPal Express Checkout work correctly we needed to update our Magento store to allow "Guest Checkout".
Thank you for taking the time to provide a solution!