• Resolved NomadicBits

    (@nomadicbits)


    I have an issue with orders not being handled properly after initially a failed transaction and then a successful transaction. I will try to describe the scenario in a few steps

    – Add item to cart
    – Checkout, enter address data
    – Proceed to Quickpay gateway (Gateway is in test mode)
    – Enter card data for rejected card
    – Quickpay responds as expected, denying the transaction
    – Enter card data for an approved card
    – Quickpay accepts the payment and redirects back to website order confirmation page

    Now the strange part begins.

    One scenario is that the website displays the order as not being paid and shows two buttons, “Retry payment” and “My account”. If I click the retry payment button the website claims that it’s not possible to retry as the order is already in status “Pending”. If I then click back and refresh the order confirmation page the order has actually been paid and also has a Quickpay transaction ID etc.

    Another scenario is that it works like it should, Quickpay accepts the payment and redirects back to the order confirmation page and the order looks OK.

    But in both scenarios no order receipt email is sent to the end customer, only the email to the shop admin is sent. In order to monitor mails being sent out I’ve switched to PostMark and I can see that the mail to the customer is simply not being sent. (If creating an order and using an accepted credit card only it works, both mails are being sent out)

    A bit about the system:

    – WordPress 4.3.1
    – WooCommerce 2.4.10
    – WooCommerce QuickPay 4.3.5

    The theme I’m using is custom made and everything works as it should so not suspecting the theme. Also I’ve tried a clean unmodified install of the WooCommerce StoreFront theme with the exact same results

    I’ve noticed in one of the previous issues that some one had a similar issue and he suspected the WooCommerce Sequential Order Numbers plugin to cause problems. I also have that plugin but disabled that, among others, and that did not help.

    https://wordpress.org/plugins/woocommerce-quickpay/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Issue with order status after failed payment’ is closed to new replies.