“Pay for Order” button does not create order

[ad_1]

Hello, we recently discovered an issue when using the admin “Pay for Order” feature. The “Pay for Order” button is immediately visible, before any details, such as status, is edited or saved.

See screenshot: https://d.pr/i/oictNC

If the order is not saved before submitting payment info, the payment will be processed, but the order page refreshes and is not saved. The result is a payment being sent to Stripe but no corresponding record existing in Woocommerce.

Steps to recreate:

  1. In Woocommerce/orders, click “Add Order”
  2. Add a billing address
  3. Add a product
  4. Click “Recalculate” to update order total
  5. Click pay and enter customer card info

Once the card info is submitted, the payment is processed, the screen refreshes and the order is not saved in woocommerce.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer