I have been trying to set up the PayPal Auto Return feature but I can't get it to work. Instead of sending the user to a thank you page, PayPal shows a 404 error on their side (http://pbrd.co/1tWVPq5).
I have set it up as per the documentation from WooCommerce: http://pbrd.co/1tWW44D
Upon contacting PayPal, I learned the following:
"In looking at the information that gets passed to PayPal, your cart is passing a Return URL, however, it is encoding it before it is passed. For example, in my test, I see that it passed
This should be sent as
I tested this using the information, and once I sent the same requests with the encoding removed, the return URL worked. I recommend checking with your cart to see why it is encoding the cancel and the return URLs. Once you correct this, the return and cancel URLs will work like normal."
Question: How do I fix this encoding issue?