• Resolved PPNZWEB

    (@ppnzweb)


    We’re having an issue where multiple Pending payment orders are being placed when a client uses the back button to swap payment methods.
    To replicate this issue

    1. I selected Payment Gateway 1 at Checkout and then Place Order
    2. Payment gateway page loads then I used the browser “Back” button to return to to site’s Checkout page
    3. In another Tab – I checked in wp-admin, and saw that new Order was in with Pending payment status under WooCommerce > Orders
    4. Back on the on the Checkout page, I selected Payment Gateway 2 at Checkout and then Clicked Place Order and processed payment
    5. I checked in wp-admin, and saw that there’s now a second Order with Paid/Pending status under WooCommerce > Orders

    This is only happening with the payment methods that have Payment Gateway Fees enabled.
    I disabled the plugin and the duplicate orders arent being created.

    Please help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author tychesoftwares

    (@tychesoftwares)

    Hi @ppnzweb,

    Thank you so much for pointing out this bug with a detailed explanation.

    I was also able to replicate the issue at our end where the orders are getting duplicated. I’ve escalated this bug to our development team so that they will fix this soon.

    I’ll share the fixed file here as soon as I receive an update from our team.

    Thank you once again.

    Thread Starter PPNZWEB

    (@ppnzweb)

    Thank you for such a quick response!
    I have also spoken to Woo Commerce about this and they said it appears to be because the order total value has changed. The same issues happens with their payment fee plugin.
    I don’t know if this is helpful or not.

    Thanks again!

    Plugin Author tychesoftwares

    (@tychesoftwares)

    Hi @ppnzweb,

    Here is the response from our developer:

    I checked this issue, and also it gets replicated but this happens because when we change the payment method the total amount of the order gets changed and due to which WooCommerce count it as a new order.

    I tried by keeping the same payment gateway fees for two different methods and followed the same steps, in that case, the total amount of the order doesn’t get changed and due to which duplicate order is not created.

    I have checked this behavior by entering the coupon code after clicking the back button in the browser, and then selecting other payment gateway and placing the order, here also the new order will be created.

    So, this is the behavior of WooCommerce only.

    Thread Starter PPNZWEB

    (@ppnzweb)

    Thanks for looking into this for me!

    Love your plugin and will continue to use t for the foreseeable future!

    Plugin Author tychesoftwares

    (@tychesoftwares)

    Hi @ppnzweb,

    Glad we could help you and thank you for your words. It helps to keep us motivated. It would be more helpful if you can leave your review here.

    Have a nice day!

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

The topic ‘Duplicate Pending Payment Orders’ is closed to new replies.