Title: Cannot Enable PayPal Toggle
Last modified: October 29, 2021

---

# Cannot Enable PayPal Toggle

 *  Resolved [viclo](https://wordpress.org/support/users/viclo/)
 * (@viclo)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/cannot-enable-paypal-toggle/)
 * 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](https://wordpress.org/support/users/joostvandevijver/)
 * (@joostvandevijver)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/cannot-enable-paypal-toggle/#post-15018275)
 * Hello [@viclo](https://wordpress.org/support/users/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/](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](https://wordpress.org/support/users/viclo/)
 * (@viclo)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/cannot-enable-paypal-toggle/#post-15061003)
 * 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](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.

 * ![](https://ps.w.org/woocommerce-paypal-payments/assets/icon-256x256.png?rev=
   3234615)
 * [WooCommerce PayPal Payments](https://wordpress.org/plugins/woocommerce-paypal-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-paypal-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-paypal-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-paypal-payments/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [viclo](https://wordpress.org/support/users/viclo/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/cannot-enable-paypal-toggle/#post-15061003)
 * Status: resolved