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
- The topic ‘Cannot Enable PayPal Toggle’ is closed to new replies.