Support » Plugin: WooCom SecurePay Payment Gateway » woocommerce orders stuck at the status of “Pending payment”

  • Resolved pixelstorm


    We are having issues with the “Woocommerce Securepay payment gateway” plugin. We just moved our site to wpengine and then it stopped working on the live site. The woocommerce orders stuck at the status of “Pending payment”. then after 1 hour change to a status of cancelled, therefore confirmation emails are never sent to the customer or account holder. Funny though it works on wpengine staging server in securepay test mode. Live site does not work in test mode either.

    I spoke to wpengine and they said to ask you If there’s either an argument or additional cookie they need to exclude, or if you have any insights into how your service interacts with Varnish caching and an Nginx over Apache configuration


    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • sorry to bug you again. I really need to get back to wpengine on this.

    Plugin Author Hem Thapa


    Hi @dfhectik

    If the plugin works in the staging server than the issue should be on the live server environment/configuration.The plugin itself doesn’t create/use any cookies.

    Re order status, Woocommmerce automatically changes the status of ‘pending payment’ orders to ‘Cancelled’ after one hour by default (or whatever time is set).

    Please mail me the specific error message or server configuration details so I can better assist you.

    Hello again. The response Ive gotten back from wpengine is:

    I was able to replicate the original issue of the orders getting stuck on Pending Payment.

    I went ahead a took a look in to the error logs and I was able to see this error

    1 PHP Fatal error: Uncaught Error: Call to undefined method WooCommerce::add_inline_js() in /nas/content/live/peptranstage/wp-content/plugins/SecureFrame_WooCommerce/woocommerce-securepayframe.php:466\nStack trace:\n#0 /nas/content/live/peptranstage/wp-content/plugins/SecureFrame_WooCommerce/woocommerce-securepayframe.php(325): WC_Gateway_SecurePayFrame->generate_payment_form(1370)\n#1 [internal function]: WC_Gateway_SecurePayFrame->receipt_page(1370)\n#2 /nas/content/live/peptranstage/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array)\n#3 /nas/content/live/peptranstage/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)\n#4 /nas/content/live/peptranstage/wp-includes/plugin.php(465): WP_Hook->do_action(Array)\n#5 /nas/content/live/peptranstage/wp-content/plugins/woocommerce/templates/checkout/order-receipt.php(45): do_action(‘woocommerce_rec…’, 1370)\n#6 /nas/content/live/peptranstage/wp-content/plugins/woocommerce/includes/wc-core-functions.php(211): include(‘/nas/content/li…’)\n#7 /nas/content in /nas/content/live/peptranstage/wp-content/plugins/SecureFrame_WooCommerce/woocommerce-securepayframe.php on line 466
    This would lead me to believe that the issue lies within the plugin code and that is why you are having an issue taking advantage of the correct functionality of the plugin.

    What I would recommend would be to reach out to the plugin dev as this would be more their area of expertise and would be best equipped to troubleshoot and resolve the issue at hand.

    Plugin Author Hem Thapa


    Hi @dfhectik

    Based on the error message, it seems you’re not using my “WooCom SecurePay Payment Gateway” plugin instead you’re using SecurePay plugins from other developers. Unfortunately, I won’t be able provide support for plugins other than the “WooCom SecurePay Payment Gateway”.

    If you’d like to try “WooCom SecurePay Payment Gateway” plugin, please remove all existing Securepay plugins from your website and install it, If you got any issues than please email me,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘woocommerce orders stuck at the status of “Pending payment”’ is closed to new replies.