1

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:

  1. Choose Paypal as my gateway
  2. I choose pay with Paypal
  3. Paypal screen pops up
  4. I make payment
  5. I get redirected back to /store/undefined
  6. 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"

Gateway-code

Rendered code

Redirected URL

Is there something I need to do differently for the new Paypal gateway?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.