• Hi,

    I have created a custom page for an external payment which is basically the same thing as clicking the Customer payment page link.

    On that CMS page, I’m using the shortcode [woocommerce_checkout] as I’m just duplicating that link and adding a little bit of custom but that won’t affect the form submitting. The problem is when I submit the form, I get 400 Bad Request. Tried looking at my development logs, I don’t see any errors coming from the request but mostly are just warnings coming from WordPress. Checked the WooCommerce > Status > Logs. Logs are empty too. This is the only thing that is not working that includes the provided link, coming from that screenshot, is not working, as well.

    I’ve created another page for checking out/payment which works fine with just using shortcode [woocommerce_checkout]. This is the payment checkout that works fine that doesn’t have this kind of parameters /order-pay/2650/?pay_for_order=true&key=wc_order_KQOIOeUMuxOMi.

    Note that I have my debug mode on, so I can, technically, see all the errors and warnings on my end. This happened not just on my local but on staging, too.

    Any thoughts?

    Thanks for the help!

    WordPress environment
    WooCommerce version: 6.1.0
    WooCommerce REST API package: 6.1.0
    WooCommerce Blocks package: 6.5.1
    Action Scheduler package: 3.4.0
    WooCommerce Admin package: 3.0.3
    Log directory writable: /var/www/html/wp-content/uploads/wc-logs/
    WordPress version: 5.9.1
    WordPress multisite:
    WordPress memory limit: 256 MB

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Customer payment page submitting bad request’ is closed to new replies.