• Resolved WarrenIndLLC

    (@warrenindllc)


    Hey Guys,

    I’ve created a WooCommerce invoice for a client. When they click on the pay link, it loads the Checkout page but it just displays this error instead. I have disabled all plugins with exception of the Stripe plugin and Woocommerce plugin and still get the error.

    I’m well versed with using WooCommerce. So I’m unsure what is going on. I created a new order, changed the order to Pending Payment but continue to get the error. Any ideas? I’ve attached the pay link but here it is again:

    https://depechecode.io/checkout/order-pay/9075/?pay_for_order=true&key=wc_order_5c30ef1060ce6

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi @warrenindllc

    The error message: “Sorry, this order is invalid and cannot be paid for.” comes up when the pay link that is sent is invalid due to it’s order key or order ID.

    How do you sent what link? You must only do it via the backend using Order Actions >> Email Invoice / Send order details to customer: https://cld.wthms.co/650Ta8

    Kind regards,

    Thread Starter WarrenIndLLC

    (@warrenindllc)

    Hello,

    The way you explained it is the exact way I did it. I’ve done it a few times the exact same way as you are explaining and I keep getting this error.

    Please Advise.

    Thread Starter WarrenIndLLC

    (@warrenindllc)

    Ok. So after further testing. It’s like the order needs to “sit” for it to actually work which is REALLY FRUSTRATING. Now, the original order that I posted the thread to works. So I created a NEW order, the EXACT same way and now I’m getting the EXACT same error:

    https://depechecode.io/checkout/order-pay/9094/?pay_for_order=true&key=wc_order_5c34cd73a5dac

    Thread Starter WarrenIndLLC

    (@warrenindllc)

    And another reply. As all of a sudden the link above is working. This is extremely weird. So I did ANOTHER test. This time as a Guest and well. Again, keep getting the same error:

    https://depechecode.io/checkout/order-pay/9094/?pay_for_order=true&key=wc_order_5c34cd73a5dac

    Thread Starter WarrenIndLLC

    (@warrenindllc)

    On another note. I did just move my server to AWS. Is there perhaps a PHP Extension that is required to be enabled to make WooCommerce fully functional? Perhaps an extension isn’t installed that is not making it as stable as it should be?

    Moderator Hari Shanker R

    (@harishanker)

    Hi @warrenindllc

    I just wanted to check with you on the problem here.

    Based on your latest reply, it appears that:

    1. The payment link for manual orders seems to work after a short while, whereas it doesn’t seem to work immediately for new orders.
    2. Overall, it appears that the functionality of the order payment link, overall, is inconsistent.

    I just did a test in a couple of my test sites, and I could get the order pay function to work without problems.

    I have a couple of questions for you, in case the problem still bothers you:

    1. Has this been the way ever since you set up your site? Or, has this worked properly before?
    2. Do you have some sort of caching set up in your site? Like a caching plugin, or server side caching?
    3. Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here as a reply to our message.

    We look forward to hearing back from you!

    Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    Hi @warrenindllc,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Getting A: “Sorry, this order is invalid and cannot be paid for.” Error’ is closed to new replies.