Failed to get activate2object(PayPal\Exception\PayPalConnectionException)#6007 (9) { ["url":"PayPal\Exception\PayPalConnectionException":private]=> string(57) "https://api.sandbox.paypal.com/v1/payments/billing-plans/" ["data":"PayPal\Exception\PayPalConnectionException":private]=> string(278) "{"name":"VALIDATION_ERROR","debug_id":"a79be428ee8d3","message":"Invalid request. See details.","information_link":"https://developer.paypal.com/docs/api/payments.billing-plans#errors","details":[{"field":"payment_definitions[0].amount.value","issue":"Amount cannot be blank"}]}" ["message":protected]=> string(100) "Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/billing-plans/." ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(400) ["file":protected]=> string(153) "/home/localins/public_html/wp-content/themes/local-insights/page-templates/paypal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php" ["line":protected]=> int(207) ["trace":"Exception":private]=> array(7) { [0]=> array(6) { ["file"]=> string(152) "/home/localins/public_html/wp-content/themes/local-insights/page-templates/paypal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php" ["line"]=> int(78) ["function"]=> string(7) "execute" ["class"]=> string(32) "PayPal\Core\PayPalHttpConnection" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(589) "{"name":"Monthly Subscription","description":"Monthly Subscription","type":"infinite","payment_definitions":[{"name":"Monthly Payments","type":"REGULAR","frequency":"Month","frequency_interval":"1","amount":{"currency":"USD"},"charge_models":[{"type":"SHIPPING","amount":{"value":"0","currency":"USD"}}]}],"merchant_preferences":{"return_url":"https://www.localinsights.co.uk/thank-you?success=true&si=&pm=paypal&st=monthly","cancel_url":"https://www.localinsights.co.uk/sign-up/step-2?success=false","auto_bill_amount":"yes","initial_fail_amount_action":"CANCEL","max_fail_attempts":"0"}}" } } [1]=> array(6) { ["file"]=> string(154) "/home/localins/public_html/wp-content/themes/local-insights/page-templates/paypal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalResourceModel.php" ["line"]=> int(104) ["function"]=> string(7) "execute" ["class"]=> string(31) "PayPal\Transport\PayPalRestCall" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> array(1) { [0]=> string(26) "PayPal\Handler\RestHandler" } [1]=> string(27) "/v1/payments/billing-plans/" [2]=> string(4) "POST" [3]=> string(589) "{"name":"Monthly Subscription","description":"Monthly Subscription","type":"infinite","payment_definitions":[{"name":"Monthly Payments","type":"REGULAR","frequency":"Month","frequency_interval":"1","amount":{"currency":"USD"},"charge_models":[{"type":"SHIPPING","amount":{"value":"0","currency":"USD"}}]}],"merchant_preferences":{"return_url":"https://www.localinsights.co.uk/thank-you?success=true&si=&pm=paypal&st=monthly","cancel_url":"https://www.localinsights.co.uk/sign-up/step-2?success=false","auto_bill_amount":"yes","initial_fail_amount_action":"CANCEL","max_fail_attempts":"0"}}" [4]=> array(0) { } } } [2]=> array(6) { ["file"]=> string(136) "/home/localins/public_html/wp-content/themes/local-insights/page-templates/paypal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Plan.php" ["line"]=> int(362) ["function"]=> string(11) "executeCall" ["class"]=> string(33) "PayPal\Common\PayPalResourceModel" ["type"]=> string(2) "::" ["args"]=> array(6) { [0]=> string(27) "/v1/payments/billing-plans/" [1]=> string(4) "POST" [2]=> string(589) "{"name":"Monthly Subscription","description":"Monthly Subscription","type":"infinite","payment_definitions":[{"name":"Monthly Payments","type":"REGULAR","frequency":"Month","frequency_interval":"1","amount":{"currency":"USD"},"charge_models":[{"type":"SHIPPING","amount":{"value":"0","currency":"USD"}}]}],"merchant_preferences":{"return_url":"https://www.localinsights.co.uk/thank-you?success=true&si=&pm=paypal&st=monthly","cancel_url":"https://www.localinsights.co.uk/sign-up/step-2?success=false","auto_bill_amount":"yes","initial_fail_amount_action":"CANCEL","max_fail_attempts":"0"}}" [3]=> NULL [4]=> object(PayPal\Rest\ApiContext)#5993 (2) { ["requestId":"PayPal\Rest\ApiContext":private]=> NULL ["credential":"PayPal\Rest\ApiContext":private]=> object(PayPal\Auth\OAuthTokenCredential)#5992 (8) { ["clientId":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "ARFmUYKfH0O1gxBgAWEVywMGxoS1eqfeiaGVn8QDbRPxLoBeH2KeQGp49Msbq9IvW5YWD-DJlFL2CRNN" ["clientSecret":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "EE4NY19MogeEwQHkdGnZo0vuy_SHhKiPQYfZMh9p_PMGDTnAjVpG40JgXcsoZGl-rDJI72tIi7-hzLi6" ["targetSubject":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["accessToken":"PayPal\Auth\OAuthTokenCredential":private]=> string(97) "A21AALXE8W_tSyoDBiu9gSlGHpibf2jZJ6V_yQEmZxJLiuY4gp1EZU2yfWDVyKPMpA4TmtkIf2ejEBtJOh1J48FgCdF3PBcGQ" ["tokenExpiresIn":"PayPal\Auth\OAuthTokenCredential":private]=> int(32400) ["tokenCreateTime":"PayPal\Auth\OAuthTokenCredential":private]=> int(1623837175) ["cipher":"PayPal\Auth\OAuthTokenCredential":private]=> object(PayPal\Security\Cipher)#5994 (1) { ["secretKey":"PayPal\Security\Cipher":private]=> string(80) "EE4NY19MogeEwQHkdGnZo0vuy_SHhKiPQYfZMh9p_PMGDTnAjVpG40JgXcsoZGl-rDJI72tIi7-hzLi6" } ["_propMap":"PayPal\Common\PayPalModel":private]=> array(0) { } } } [5]=> object(PayPal\Transport\PayPalRestCall)#6001 (2) { ["logger":"PayPal\Transport\PayPalRestCall":private]=> object(PayPal\Core\PayPalLoggingManager)#6002 (2) { ["logger":"PayPal\Core\PayPalLoggingManager":private]=> object(PayPal\Log\PayPalLogger)#6005 (5) { ["loggingLevels":"PayPal\Log\PayPalLogger":private]=> array(8) { [0]=> string(9) "emergency" [1]=> string(5) "alert" [2]=> string(8) "critical" [3]=> string(5) "error" [4]=> string(7) "warning" [5]=> string(6) "notice" [6]=> string(4) "info" [7]=> string(5) "debug" } ["loggingLevel":"PayPal\Log\PayPalLogger":private]=> NULL ["loggerFile":"PayPal\Log\PayPalLogger":private]=> NULL ["isLoggingEnabled":"PayPal\Log\PayPalLogger":private]=> NULL ["loggerName":"PayPal\Log\PayPalLogger":private]=> string(31) "PayPal\Transport\PayPalRestCall" } ["loggerName":"PayPal\Core\PayPalLoggingManager":private]=> string(31) "PayPal\Transport\PayPalRestCall" } ["apiContext":"PayPal\Transport\PayPalRestCall":private]=> object(PayPal\Rest\ApiContext)#5993 (2) { ["requestId":"PayPal\Rest\ApiContext":private]=> NULL ["credential":"PayPal\Rest\ApiContext":private]=> object(PayPal\Auth\OAuthTokenCredential)#5992 (8) { ["clientId":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "ARFmUYKfH0O1gxBgAWEVywMGxoS1eqfeiaGVn8QDbRPxLoBeH2KeQGp49Msbq9IvW5YWD-DJlFL2CRNN" ["clientSecret":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "EE4NY19MogeEwQHkdGnZo0vuy_SHhKiPQYfZMh9p_PMGDTnAjVpG40JgXcsoZGl-rDJI72tIi7-hzLi6" ["targetSubject":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["accessToken":"PayPal\Auth\OAuthTokenCredential":private]=> string(97) "A21AALXE8W_tSyoDBiu9gSlGHpibf2jZJ6V_yQEmZxJLiuY4gp1EZU2yfWDVyKPMpA4TmtkIf2ejEBtJOh1J48FgCdF3PBcGQ" ["tokenExpiresIn":"PayPal\Auth\OAuthTokenCredential":private]=> int(32400) ["tokenCreateTime":"PayPal\Auth\OAuthTokenCredential":private]=> int(1623837175) ["cipher":"PayPal\Auth\OAuthTokenCredential":private]=> object(PayPal\Security\Cipher)#5994 (1) { ["secretKey":"PayPal\Security\Cipher":private]=> string(80) "EE4NY19MogeEwQHkdGnZo0vuy_SHhKiPQYfZMh9p_PMGDTnAjVpG40JgXcsoZGl-rDJI72tIi7-hzLi6" } ["_propMap":"PayPal\Common\PayPalModel":private]=> array(0) { } } } } } } [3]=> array(6) { ["file"]=> string(90) "/home/localins/public_html/wp-content/themes/local-insights/page-templates/paypalindex.php" ["line"]=> int(185) ["function"]=> string(6) "create" ["class"]=> string(15) "PayPal\Api\Plan" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> object(PayPal\Rest\ApiContext)#5993 (2) { ["requestId":"PayPal\Rest\ApiContext":private]=> NULL ["credential":"PayPal\Rest\ApiContext":private]=> object(PayPal\Auth\OAuthTokenCredential)#5992 (8) { ["clientId":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "ARFmUYKfH0O1gxBgAWEVywMGxoS1eqfeiaGVn8QDbRPxLoBeH2KeQGp49Msbq9IvW5YWD-DJlFL2CRNN" ["clientSecret":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "EE4NY19MogeEwQHkdGnZo0vuy_SHhKiPQYfZMh9p_PMGDTnAjVpG40JgXcsoZGl-rDJI72tIi7-hzLi6" ["targetSubject":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["accessToken":"PayPal\Auth\OAuthTokenCredential":private]=> string(97) "A21AALXE8W_tSyoDBiu9gSlGHpibf2jZJ6V_yQEmZxJLiuY4gp1EZU2yfWDVyKPMpA4TmtkIf2ejEBtJOh1J48FgCdF3PBcGQ" ["tokenExpiresIn":"PayPal\Auth\OAuthTokenCredential":private]=> int(32400) ["tokenCreateTime":"PayPal\Auth\OAuthTokenCredential":private]=> int(1623837175) ["cipher":"PayPal\Auth\OAuthTokenCredential":private]=> object(PayPal\Security\Cipher)#5994 (1) { ["secretKey":"PayPal\Security\Cipher":private]=> string(80) "EE4NY19MogeEwQHkdGnZo0vuy_SHhKiPQYfZMh9p_PMGDTnAjVpG40JgXcsoZGl-rDJI72tIi7-hzLi6" } ["_propMap":"PayPal\Common\PayPalModel":private]=> array(0) { } } } } } [4]=> array(4) { ["file"]=> string(58) "/home/localins/public_html/wp-includes/template-loader.php" ["line"]=> int(74) ["args"]=> array(1) { [0]=> string(90) "/home/localins/public_html/wp-content/themes/local-insights/page-templates/paypalindex.php" } ["function"]=> string(7) "include" } [5]=> array(4) { ["file"]=> string(45) "/home/localins/public_html/wp-blog-header.php" ["line"]=> int(19) ["args"]=> array(1) { [0]=> string(58) "/home/localins/public_html/wp-includes/template-loader.php" } ["function"]=> string(12) "require_once" } [6]=> array(4) { ["file"]=> string(36) "/home/localins/public_html/index.php" ["line"]=> int(17) ["args"]=> array(1) { [0]=> string(45) "/home/localins/public_html/wp-blog-header.php" } ["function"]=> string(7) "require" } } ["previous":"Exception":private]=> NULL }