I'm moving a site from craftcms/commerce-paypal to craft/commerce-paypal-checkout but I'm having an issue with the redirect after payment.
Steps to reproduce:
- Choose Paypal as my gateway
- I choose pay with Paypal
- Paypal screen pops up
- I make payment
- I get redirected back to /store/undefined
- Order is not completed in the backend - still in Active carts.
Everything looks to be rendering correctly on the frontend and the code works for the other gateways and the old Paypal, but the new Paypal gateway is redirecting to "undefined"
Is there something I need to do differently for the new Paypal gateway?