• Resolved programmerbha

    (@programmerbha)


    The client gets failed order email notification while the order goes to processing to failed status.

    Below is the scenario

    A client placed an order (#70588), but their payment failed due to insufficient funds.

    Stripe noted this as failed
    https://tinyurl.com/2a9pl7z4

    The backend of the website noted this as failed.

    https://tinyurl.com/27dcuuq8

    But it came through to the clientโ€™s inbox as a paid order?
    Only orders with successful payments are supposed to come through, right?

    Suggest us a solution that what we can do here.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @programmerbha

    But it came through to the clientโ€™s inbox as a paid order?

    That’s only possible if the customer used a different payment method and successfully paid for the order. It would then go from failed to processing/completed.

    Only orders with successful payments are supposed to come through, right?

    Yes, that’s correct and that’s the logic this plugin follows.

    Suggest us a solution that what we can do here.

    If your site is sending order completed emails to customers when the payment failed that wouldn’t be as a result of this plugin. This plugin doesn’t control email logic, it only assigns the order status when things happen like a payment is successful or it fails. As you pointed out, the order’s status was correctly set to failed when the customer’s payment method had insufficient funds.

    Kind Regards,

    Thread Starter programmerbha

    (@programmerbha)

    Maybe you not understood what excetly I need.

    There is only one payment gateway enabled for payment method its Payment Plugins for Stripe WooCommerce.

    But what problem here is when payment gateway goes processing to failed status wooocommerce already triggering email notification for order to customer and admin.

    We want to fire email notification only if payment paid. What happens here when payment goes to processig status email fire to admin customer for order notification. We want to send notification only if payment paid. But here email notification already send when order goes to processing status. Please see this screenshot what excetly issue there. https://tinyurl.com/23dfly36

    We already disabled email notification for failed amd cancelled orders by woocomerce->emails settings. We want notification go only for payment completed by payment gateway.

    Let me know Is it possible or not.

    Thanks.

    Plugin Author Clayton R

    (@mrclayton)

    Hi @programmerbha

    Maybe you not understood what excetly I need. There is only one payment gateway enabled for payment method its Payment Plugins for Stripe WooCommerce.

    I didn’t say this was caused by another payment gateway.

    But what problem here is when payment gateway goes processing to failed status wooocommerce already triggering email notification for order to customer and admin.

    This plugin never sets the order to processing before the payment is accepted. The order status is always pending and if it fails, the order’s status is updated to failed. Notice in your screenshot the timestamps showing the order’s status went from pending to processing at 9:04AM, then the payment failed at 9:05AM. You have some plugin or code that’s updating the order’s status to processing before payment is initiated and it’s not being caused by this plugin.

    Kind Regards,

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

The topic ‘Order failed transaction’ is closed to new replies.