Confirmation Emails Are Being Sent for Failed Payments

  • This topic has 2 replies, 2 voices, and was last updated 2 weeks ago by Andre Flores.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1132650
    Cindy Haubl
    Participant

    We are having a recent problem with cancellation emails being sent before the payment is finalized by Authorize.net.

    You can see on this transaction that a Cancellation Email was sent at 7:06pm, yet one minute later at 7:07pm, an Approved Booking email was also sent:

    Booking Log

    This is causing confusion for some of our customers.

    Here is a screenshot of the WooCommerce Order Notes. Note the initial payment failure that one minute later is Successfully completed:

    Woo Order Notes

    What is going on? Is there a way to *delay* all emails until a failure or success of a payment is completely finalized? Seems that emails are being delivered too quickly and not based on final settlement of the payment. There should be a 5 minute delay at least to allow for payment processor confirmation/settlement.

    How do we fix this?

    We are using Hotel Booking Version 3.9.7 and Hotel Booking WooCommerce Payments Version 1.0.7 on WP 5.7.2.

    #1134238
    Cindy Haubl
    Participant

    Hello? Is anyone there who can reply to this question please?

    #1134440
    Andre Flores
    Moderator

    Hello Cindy,

    The issue is the Hotel Booking plugin Payment status depends on the WooCommerce Order status, and the Booking status depends on the Payment status in its turn. First of all you should resolve the issue with Authorize.NET setting WooCommerce order to Failed status and then to Complete one – this what causes the plugin Payment status to fail, as well as the Booking due to the failed payment status.
    Statuses are passed immediately and there is no way to add a delay to the process. Try testing booking with other WooCommerce payment gateways to find out whether the issue persists.

    Regards,
    Andre

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.