• Resolved viclo

    (@viclo)


    When I tried to click the PayPal toggle in WooCommerce > Settings > Payments. It redirects me to this page where I get this error. I am using the latest WooCommerce and latest WooCommerce PayPal Payments plugin. I re-installed the plugin many times but still get this error whenever I tried to toggle to enable PayPal.

    Fatal error: Uncaught TypeError: Argument 3 passed to WooCommerce\PayPalCommerce\ApiClient\Endpoint\PartnerReferrals::request_response_string() must be of the type array, object given, called in C:\MAMP\htdocs\wp-demo\wp-content\plugins\woocommerce-paypal-payments\modules\ppcp-api-client\src\Endpoint\class-requesttrait.php on line 40 and defined in C:\MAMP\htdocs\wp-demo\wp-content\plugins\woocommerce-paypal-payments\modules\ppcp-api-client\src\Endpoint\class-requesttrait.php:52 Stack trace: #0 C:\MAMP\htdocs\wp-demo\wp-content\plugins\woocommerce-paypal-payments\modules\ppcp-api-client\src\Endpoint\class-requesttrait.php(40): WooCommerce\PayPalCommerce\ApiClient\Endpoint\PartnerReferrals->request_response_string('https://connect...', Array, Object(WP_Error)) #1 C:\MAMP\htdocs\wp-demo\wp-content\plugins\woocommerce-paypal-payments\modules\ppcp-api-client\src\Endpoint\class-partnerreferrals.php(93): WooCommerce\PayPalCommerce\ApiClient\Endpoint\PartnerReferrals->request('https://connect...', Array) #2 C:\MAMP\htdocs\wp-dem in C:\MAMP\htdocs\wp-demo\wp-content\plugins\woocommerce-paypal-payments\modules\ppcp-api-client\src\Endpoint\class-requesttrait.php on line 52

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @viclo

    thank you for reaching out to us. It sounds like there is a conflict with another plugin (MAMP). Can you try to disable this (and if it doesn’t work, all other) plugin(s) to see if that allows you to enable our plugin?

    If that doesn’t work, we might need to take a closer look into your setup and will need the system report and our plugin logs. You can copy the logfiles from here:
    – WooCommerce > Status > Get system report > Copy for support
    – WooCommerce > Status > Logs > select “woocommerce-paypal-payments-integration-\[…\]” in the dropdown and click on view.
    If you don’t feel comfortable sharing those details on a public forum, please open a ticket with our service desk. You can find the instruction for this here: https://paypal.inpsyde.com/docs/request-support/
    (please add the URL of this thread in the ticket as well)

    Kind regards,
    Joost

    Thread Starter viclo

    (@viclo)

    Hi, I have updated to the latest beta version 1.6.2 and the error went away. Thanks.

    The latest version can be found at: https://github.com/woocommerce/woocommerce-paypal-payments/releases/tag/1.6.2-test1

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot Enable PayPal Toggle’ is closed to new replies.