Title: Problem
Last modified: March 21, 2023

---

# Problem

 *  Resolved [cristianalava](https://wordpress.org/support/users/cristianalava/)
 * (@cristianalava)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/problem-325/)
 * Greetings, a purchase was made that was marked as failure on 03-14-2023, now 
   last night that same transaction was updated to completed, after verifying the
   case, is it normal behavior?
   As I understand it, after a purchase fails, the 
   new transaction will count as a new purchase with a new id, however, I only update
   the data from failed to approved and then completed.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [xue28 (woo-hc)](https://wordpress.org/support/users/xue28/)
 * (@xue28)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/problem-325/#post-16582800)
 * Hi [@cristianalava](https://wordpress.org/support/users/cristianalava/)
 * Thanks for reaching out!
 * I understand that a failed order was updated to completed _after verifying the
   case_, correct?
 * As a first step, can you please share what do you mean by _after verifying the
   case_ here?
 * If a screenshot would be helpful, I’d recommend using [https://snipboard.io](https://snipboard.io).
   You can share the direct link to the image as a response to this topic.
 * These are the reasons why an order is having the **Failed** status:
    - payment failed or was declined
    - [Hold stock](https://woocommerce.com/document/configuring-woocommerce-settings#inventory-options)
      window expired without a response
 * Furthermore, **Failed**, pending, and canceled orders which get cleaned up will
   be moved to the _trash_.
 * In your use case, this is indeed a different behavior and I am unsure if this
   is permitted in your company or not. But, checking on my personal site, this 
   is possible.
 * After an order failed, I can update it to Completed or to another status, **BUT**,
   as I said this is for testing purposes only.
 * ![](https://i0.wp.com/snipboard.io/37DMPI.jpg?ssl=1)
 * > As I understand it, after a purchase fails, the new transaction will count 
   > as a new purchase with a new id, however, I only update the data from failed
   > to approved and then completed.
 * If a purchase or an order fails, it’s either you would create a new manual order
   or ask the customer to place another order again that would create another transaction.
   This is not automated.
 * Hope this helps!
 *  Thread Starter [cristianalava](https://wordpress.org/support/users/cristianalava/)
 * (@cristianalava)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/problem-325/#post-16582814)
 * Greetings, I contacted the payment gateway, and a new charge was generated with
   a different transaction id but as shown in the image with the same purchase order.
   In the attached image how it automatically went from failed to complete. This
   is the first time a [similar case](https://snipboard.io/RhcXaf.jpg) has happened
   to me. Greetings
 *  [Saif](https://wordpress.org/support/users/babylon1999/)
 * (@babylon1999)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/problem-325/#post-16584519)
 * Hello [@cristianalava](https://wordpress.org/support/users/cristianalava/),
 * > As I understand it, after a purchase fails, the new transaction will count 
   > as a new purchase with a new id, however, I only update the data from failed
   > to approved and then completed.
 * That’s not always the case, for example with [Stripe](https://woocommerce.com/products/stripe/)
   or [WooCommerce payments](https://woocommerce.com/payments/), the customer can
   go to the my-account page and attempt to pay for the order again if it failed
   the first time.
 * 
   Link to image: [https://d.pr/i/FfYEDH](https://d.pr/i/FfYEDH)
 * 
   I recommend you discuss this with your payment plugin author.Please let us know
   if you have any other questions.
 *  [Saif](https://wordpress.org/support/users/babylon1999/)
 * (@babylon1999)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/problem-325/#post-16637164)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   we’ll be here if and/or when you are ready to continue.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problem’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [completed](https://wordpress.org/support/topic-tag/completed/)
 * [Failed](https://wordpress.org/support/topic-tag/failed/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * 4 replies
 * 3 participants
 * Last reply from: [Saif](https://wordpress.org/support/users/babylon1999/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/problem-325/#post-16637164)
 * Status: resolved