2

I'm trying to use Paypal Express with Craft Commerce. It sends us Paypal's login page correctly, with the right amounts, but when you click pay it returns us to this URL:

/index.php/actions/commerce/payments/completePayment?commerceTransactionId=43&commerceTransactionHash=cbcad33abe2cf99ea63c8ee49c0ee9af&token=EC-0N649078HJ025430W&PayerID=VAWBVKWL78DHN

but shows a 404 error with no other errors

I've tried using the show errors code mentioned in this post: Handoff to Paypal Express with Craft Commerce

and I've tried it with Stripe which fully works.

There are no log error logs in PHP or Craft's logs, just a 404.

I've tried changing different products, different shipping types, I've uninstalled all other plugins.

It just fails with Paypal, and works with Stripe.

Any ideas?

1
  • No problem, Jeff... just my OCD kicking in.
    – Brad Bell
    Commented Oct 17, 2017 at 17:40

1 Answer 1

4

You have a variable name collision. You must change your Craft token name to something else, as per documentation

1
  • Thank you so much Andris, and I'm so sorry for not reading the docs fully. Commented Oct 17, 2017 at 14:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.