404 error with Paypal express api
-
Hello,
I’m investigating in this issue and found some threads on Github about this that seem to point to Pl being the issue. I already asked the guys from Yith and they try to investigate but I hope someone can help here too. Express buttons inst uncommon nowadays.
Since using Polylang the express button on the product page leads to an 404 error.
The paypal window open up, disappears after some seconds and one get this error with a massive amount of html code after that:
Error: Request to post https://example.com/wc-api/yith_paypal_ec/?yith_paypal_set_express_checkout=1 failed with 404 error. Correlation id: unknownPutting the /language/ slug like
https://example.com/language/wc-api/yith_paypal_ec/?yith_paypal_set_express_checkout=1
the token works.The website url configuration is like this:
example.com/en/
example.com/de/When I disable Polylang the express button works like expected also. Polylang is set to show /language/ for every page. I think the Yith plugin is not knowing about the new path structure as I had it installed and configured before I installed Polylang.
Anyone have a hint how to fix this wrong fetching of the url?
The topic ‘404 error with Paypal express api’ is closed to new replies.