• Resolved rkasutan

    (@rkasutan)


    Hello

    I can’t test WooPayments on my local dev site. I have a fatal error saying JetPack can’t connect, but I don’t have JetPack on this dev site and I don’t need it. I can test all others payments method without problems. Can you help me with this fatal error ? Thank you.

    Fatal error: Uncaught WCPay\Exceptions\API_Exception: Your site host “mrdevdas.local” is on a private network. Jetpack can only connect to public sites. in C:\Users\rcaze\Local Sites\mrdevdas\app\public\wp-content\plugins\woocommerce-payments\includes\wc-payment-api\class-wc-payments-http.php:194 Stack trace: #0 C:\Users\rcaze\Local Sites\mrdevdas\app\public\wp-content\plugins\woocommerce-payments\includes\wc-payment-api\class-wc-payments-api-client.php(222): WC_Payments_Http->start_connection(‘https://mrdevdas…’) #1 C:\Users\rcaze\Local Sites\mrdevdas\app\public\wp-content\plugins\woocommerce-payments\includes\class-wc-payments-account.php(2008): WC_Payments_API_Client->start_server_connection(‘https://mrdevdas…’) #2 C:\Users\rcaze\Local Sites\mrdevdas\app\public\wp-content\plugins\woocommerce-payments\includes\class-wc-payments-account.php(1073): WC_Payments_Account->redirect_to_onboarding_flow_page(‘wcadmin-setting…’) #3 C:\Users\rcaze\Local Sites\mrdevdas\app\public\wp-includes\class-wp-hook.php(324): WC_Payments_Account->maybe_handle_onboarding(”) #4 C:\Users\rcaze\Local Sites\mrdevdas\app\public\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #5 C:\Users\rcaze\Local Sites\mrdevdas\app\public\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #6 C:\Users\rcaze\Local Sites\mrdevdas\app\public\wp-admin\admin.php(175): do_action(‘admin_init’) #7 {main} thrown in C:\Users\rcaze\Local Sites\mrdevdas\app\public\wp-content\plugins\woocommerce-payments\includes\wc-payment-api\class-wc-payments-http.php on line 194

Viewing 3 replies - 1 through 3 (of 3 total)
  • anastas10s

    (@anastas10s)

    ?? hey @rkasutan

    Kindly note, WooPayments must be?connected to WordPress.com?— even in sandbox mode. This means it’s not possible to run WooPayments locally unless you expose your site to the Internet with?ngrok?or a similar tool.

    The official documentation, with further information on sandbox mode, for testing locally, can be found linked here, for your convenience.

    I hope this is helpful! Please let us know if you have any further questions or concerns.
    We will be happy to help you further.

    After using WooCommerce for years, I was willing to give WooPayments first shot now that we are moving to a different processor, but I’m sorry to say that the inability to test locally is an automatic disqualifier. I will look elsewhere.

    I was already hesitant based on the rather low rating and my error log being filled up with PHP Deprecated: Hook woocommerce_rest_api_option_permissions is deprecated since version 6.3.0 with no alternative available. You might want to get that worked out too.

    Hey, @garrettm30!

    I understand that you have some concerns regarding using WooPayments, and we would love to talk more to you about it to help you in any way we can.

    But as per WordPress forum guidelines, would you mind opening up a new thread for this so that we can keep things organized and offer more personalized support for you? We’ll be happy to help you out with this over there!

    Have a wonderful day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot test WooPayments locally’ is closed to new replies.