• Resolved appmachine123

    (@appmachine123)


    Hi,

    I have an issue with incorrect “Pay” button links in the customers account / order overview. The link doesn’t contain the payment endpoint (“order-pay”) and the order-id. E.g.: When a customer places an order and gets redirected to PayPal Express, but didn’t finish the payment on PayPal, the order status switches to “Pending payment”. If the customer then opens his “Orders” page and then clicks the “Pay” button, he gets redirected to an error page.

    The link on Pay button is as follow: (order-pay endpoint and order-id missing)
    /checkout/?pay_for_order=true&key=wc_order_5b39e6a40e869&force_pay_order=1

    The link on Pay button should be:
    /checkout/order-pay/1918?pay_for_order=true&key=wc_order_5b39e6a40e869&force_pay_order=1

    Could you check if you notice the same behaviour, resp. could you help me with that? Thank you in advance.

    • This topic was modified 6 years, 8 months ago by appmachine123.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    I’m wondering if this is limited to PayPal Express or whether you’re getting the same thing when using another payment gateway like PayPal Standard? Also, have you tried the following:

    • Checking whether your theme is overriding the WooCommerce templates? You can check that under WooCommerce > System Status
    • Checking if that persists after resaving the permalinks? Have you tried changing them to “default”?

    Thanks!

    Thread Starter appmachine123

    (@appmachine123)

    Sorry, I did not wrote that I use the WPML plugin in combination with WooCommerce. After some tests I discovered that the issue seems to be connected with permalinks and WPML plugin.

    • If I change permalinks (WPML active) to /%postname%/ permalink is wrong.
    • If I change permalinks (WPML active) to default, everything is fine.
    • If I deactivate WPML plugin, permalinks are always fine.

    Therefore I assume that WPML plugin is manipulating the permalinks wrong. I assume I should get in touch with WPML support directly, right?

    Plugin Contributor Julia Amosova

    (@jamosova)

    Hi @appmachine123,

    Sory for the delayed response here!

    Therefore I assume that WPML plugin is manipulating the permalinks wrong. I assume I should get in touch with WPML support directly, right?

    Yes, this will be the next logical step to take. Were you already in touch with WPML support? Any luck on having the issue resolved?

    Plugin Contributor Julia Amosova

    (@jamosova)

    Hi @appmachine123,

    Looks like you are all set for now so I am going to mark this thread as Resolved. Feel free to connect with us again should you have any additional questions!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wrong Pay link on orders page?’ is closed to new replies.