• Resolved wamedia100

    (@wamedia100)


    I’m working with a client (https://www.nwcoffeesupply.com/) and have come across an issue I’ve never seen before. My client noticed some orders come through recently without payment coming through. What they described was the customer submitting the order multiple times because their credit card had been declined. Each time, the order came through like a valid order and the inventory was adjusted as if the order were valid. I was wondering if anyone else might have seen this and if there was a fix available.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello @wamedia100,

    Sorry for the trouble there. Do you know what the status is of these orders that are created for declined cards? If they are set to “On Hold” that could explain what you see here.

    Awaiting payment – stock is reduced, but you need to confirm payment.

    https://docs.woocommerce.com/document/managing-orders/

    Usually, they should be set to “failed.” If you don’t mind letting us know what payment gateway you’re using and the order status these are set to, that would be helpful.

    Take care,

    Thread Starter wamedia100

    (@wamedia100)

    Thank you for your response. I spoke with my client again and they told me that these orders come through as “pending” just like customers who select “previously authorized credit card” or “check” at checkout.

    Hello @wamedia100,

    Here’s what I would do. Go to WooCommerce > Settings > Payments and then select their payment gateway from the list. On that settings screen there should be an option to enable logging. Turn that on and then create a test transaction to generate a log entery.

    Then go to WooCommerce > Status and then “logs” at the top. Use the drop-down there to select the log that corresponds to the transaction. It has lots of personal information, so don’t post it. If there are any errors they should be listed there. You can also get more detailed information about what happened.

    log

    If you can’t recreate what happened, the order notes may have some clues too. You can view those by editing an order where this happened and looking on the right-hand side.

    Let us know what you turn up.

    Thread Starter wamedia100

    (@wamedia100)

    I was unable to enable logging for their payment methods (which I suspect may be due to the way their store is set up). I went into one of the orders the client said came through with a declined card, though. The initial order note read “USA ePay payment failed Payment was rejected due to an error: ‘Declined Do Not Honor Card (05)’.”

    The order came in as Pending and the client later changed it to Cancelled.

    Thank you for that explanation. With a declined card, the order status may be set too failed, but it can also be set to “Pending.” Here’s what the docs say:

    Failed – Payment failed or was declined (unpaid). Note that this status may not show immediately and instead show as Pending until verified (e.g., PayPal).

    If your client runs across an order like this where the notes indicate the card was declined, they’ll want to manually go on and set the status to failed.

    Based on that, it sounds like this is working as intended, at least as far as setting the declined payment order to failed goes. Setting the order status is handled by the payment gateway. If it’s setting the wrong status, I would check with the developer of the one you’re using.

    I hope that helps,

    Thread Starter wamedia100

    (@wamedia100)

    Thank you so much. I’ll pass this to the client to let them know.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Order Accepted after Card is Declined’ is closed to new replies.