• Resolved dinahthe13monkey

    (@dinahthe13monkey)


    Hi plugin developers, my store has a popular coupon which allows 1 use per user only. But it seems that an order is created even if a payment fails to go through via this plugin and Square. This creates an issue that in customers’ minds, the coupon is technically not used due to the failed transaction and they try to use again, and of course it says coupon limit has reached. Is there a way to have the order creates only when transaction goes through, or when order status is changed to “processing”. Thank you!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello!

    Yes, an order is still created in WooCommerce even if payment fails. If the order has the Pending Payment status, then the user can still pay for the order from the orders section of their account. Because of that, the original order is taking up one use of that coupon.

    What you can do here is manually cancel the order. You can also shorten the amount of time pending payment orders remain pending before they cancel automatically. You can find that setting by going to WooCommerce > Settings > Products > Inventory. There is box here for the “Hold Stock” setting. You can set the number of minutes a pending payment order will remain pending before it automatically cancels.

    Screenshot: https://d.pr/i/1lSzVS/tsH86ImP2Q

    You can pick a small number of minutes if you’d like these to cancel quickly. ??

    Halfhidden

    (@halfhidden)

    Is this the same problem as we have? If a cvc is entered incorrectly through Square the payment gateway tells Woocommerce that the payment is fine and to release the goods even though the payment has actually failed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Order created when payment fails’ is closed to new replies.