Support » Plugin: WooCommerce » Payment and WooCommerce

  • I have serious trouble with WooCommerce.
    WooCommerce status page shows this error:
    wp_remote_post() failed. Contact your hosting provider. 403
    Everything is up to date.
    In first case (payment gateway 1): When customer wants finalize the order and hit the Place Order button then stuck in the page: “Thank you for your payment. redirecting to bank…” then nothing happen and stays in the page forever.
    In PHP log I have:
    Sep 9 23:07:17 php-7.3.21 [NOTICE]: ( for "-") /home/shophap1/domains/ - Outgoing TCP connection to host on port 443

    In second one (payment gateway 2): Customer placed an order and successfully redirected and connect to bank gateway and fill the fields and pay the bill but when browser wants to redirect customer to website then encounter with: “There has been a critical error on your website.”
    In this case I have this error in wordpress debug log:

    [10-Sep-2020 03:41:42 UTC] PHP Fatal error:  Uncaught Error: Call to a member function VerifyTransaction() on null in /home/shophap1/domains/[payment_gateway_plugin_name]/class-gateway.php:117 /*[class-gateway.php source:]*/
    Stack trace:
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi there.

    I checked this for you and you should check with your hosting provider to resolve the above errors.

    In addition, you can also roll back any change that you made before the errors started.

    I hope this points you in the right direction.

    Thread Starter Reza Masoumpour


    Thanks Siew, but you think the origin of the issue should or could be what on hosting side?

    Hi Reza,

    There is nothing specific in the errors you shared that point to a specific issue.

    Your hosting provider will be able to help you further investigate this by accessing your site.

    Thread Starter Reza Masoumpour


    OK! Can you explain why I see the wp_remote_post() failed error message in WooCommerce status page, at least?

    Hey @rezamas,

    It’s quite likely this is related to the server issue. If you go to Tools > Health Check do you see any messages indicating something is wrong?

    You could also try disabling all plugins except for WooCommerce and switch to the Twenty Twenty theme. Then see if this still happens. If the issue is still there, that does point to a hosting situation. If not, then it is a code conflict with one of the other plugins or the theme.

    You could then reactivate them, one by one. Test as you go. The last one activated before the problem comes back is likely the source of the trouble.


    Hi there,

    This thread has been inactive for a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Payment and WooCommerce’ is closed to new replies.