object(PayPal\Api\Plan)#10 (1) { ["_propMap":"PayPal\Common\PayPalModel":private]=> array(5) { ["name"]=> string(33) "Pilots For Kids Dues Subscription" ["description"]=> string(45) "Yearly dues subscription for Pilots For Kids." ["type"]=> string(8) "infinite" ["payment_definitions"]=> array(1) { [0]=> object(PayPal\Api\PaymentDefinition)#7 (1) { ["_propMap":"PayPal\Common\PayPalModel":private]=> array(6) { ["name"]=> string(16) "Regular Payments" ["type"]=> string(7) "REGULAR" ["frequency"]=> string(4) "Year" ["frequency_interval"]=> string(1) "1" ["cycles"]=> string(1) "0" ["amount"]=> object(PayPal\Api\Currency)#8 (1) { ["_propMap":"PayPal\Common\PayPalModel":private]=> array(2) { ["value"]=> string(2) "15" ["currency"]=> string(3) "USD" } } } } } ["merchant_preferences"]=> object(PayPal\Api\MerchantPreferences)#9 (1) { ["_propMap":"PayPal\Common\PayPalModel":private]=> array(5) { ["return_url"]=> string(74) "https://www.pilotsforkids.org/dues-donations/dues-subscription-success.php" ["cancel_url"]=> string(73) "https://www.pilotsforkids.org/dues-donations/dues-subscription-cancel.php" ["auto_bill_amount"]=> string(3) "yes" ["initial_fail_amount_action"]=> string(8) "CONTINUE" ["max_fail_attempts"]=> string(1) "0" } } } } object(InvalidArgumentException)#24 (7) { ["message":protected]=> string(38) "NotifyUrl is not a fully qualified URL" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(96) "/var/www/pilotsforkids.org/vendor/paypal/rest-api-sdk-php/lib/PayPal/Validation/UrlValidator.php" ["line":protected]=> int(23) ["trace":"Exception":private]=> array(7) { [0]=> array(6) { ["file"]=> string(96) "/var/www/pilotsforkids.org/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/MerchantPreferences.php" ["line"]=> int(131) ["function"]=> string(8) "validate" ["class"]=> string(30) "PayPal\Validation\UrlValidator" ["type"]=> string(2) "::" ["args"]=> array(2) { [0]=> NULL [1]=> string(9) "NotifyUrl" } } [1]=> array(6) { ["file"]=> string(91) "/var/www/pilotsforkids.org/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php" ["line"]=> int(256) ["function"]=> string(12) "setNotifyUrl" ["class"]=> string(30) "PayPal\Api\MerchantPreferences" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> NULL } } [2]=> array(6) { ["file"]=> string(91) "/var/www/pilotsforkids.org/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php" ["line"]=> int(244) ["function"]=> string(11) "assignValue" ["class"]=> string(25) "PayPal\Common\PayPalModel" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(10) "notify_url" [1]=> NULL } } [3]=> array(6) { ["file"]=> string(91) "/var/www/pilotsforkids.org/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php" ["line"]=> int(223) ["function"]=> string(9) "fromArray" ["class"]=> string(25) "PayPal\Common\PayPalModel" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(11) { ["setup_fee"]=> array(2) { ["currency"]=> string(3) "USD" ["value"]=> string(1) "0" } ["max_fail_attempts"]=> string(1) "0" ["return_url"]=> string(74) "https://www.pilotsforkids.org/dues-donations/dues-subscription-success.php" ["cancel_url"]=> string(73) "https://www.pilotsforkids.org/dues-donations/dues-subscription-cancel.php" ["notify_url"]=> NULL ["id"]=> NULL ["state"]=> NULL ["auto_bill_amount"]=> string(3) "YES" ["initial_fail_amount_action"]=> string(8) "CONTINUE" ["accepted_payment_type"]=> NULL ["char_set"]=> NULL } } } [4]=> array(6) { ["file"]=> string(91) "/var/www/pilotsforkids.org/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php" ["line"]=> int(270) ["function"]=> string(9) "fromArray" ["class"]=> string(25) "PayPal\Common\PayPalModel" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(1) { [0]=> object(PayPal\Api\PaymentDefinition)#17 (1) { ["_propMap":"PayPal\Common\PayPalModel":private]=> array(8) { ["id"]=> string(27) "PD-5SX97878N2654264FWWEAOIQ" ["name"]=> string(16) "Regular Payments" ["type"]=> string(7) "REGULAR" ["frequency"]=> string(4) "Year" ["amount"]=> object(PayPal\Api\Currency)#15 (1) { ["_propMap":"PayPal\Common\PayPalModel":private]=> array(2) { ["currency"]=> string(3) "USD" ["value"]=> string(2) "15" } } ["cycles"]=> string(1) "0" ["charge_models"]=> array(0) { } ["frequency_interval"]=> string(1) "1" } } } } } [5]=> array(6) { ["file"]=> string(81) "/var/www/pilotsforkids.org/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Plan.php" ["line"]=> int(364) ["function"]=> string(8) "fromJson" ["class"]=> string(25) "PayPal\Common\PayPalModel" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(1039) "{"id":"P-93W6066406709954NWWEAOIQ","state":"CREATED","name":"Pilots For Kids Dues Subscription","description":"Yearly dues subscription for Pilots For Kids.","type":"INFINITE","payment_definitions":[{"id":"PD-5SX97878N2654264FWWEAOIQ","name":"Regular Payments","type":"REGULAR","frequency":"Year","amount":{"currency":"USD","value":"15"},"cycles":"0","charge_models":[],"state":null,"frequency_interval":"1"}],"merchant_preferences":{"setup_fee":{"currency":"USD","value":"0"},"max_fail_attempts":"0","return_url":"https://www.pilotsforkids.org/dues-donations/dues-subscription-success.php","cancel_url":"https://www.pilotsforkids.org/dues-donations/dues-subscription-cancel.php","notify_url":null,"id":null,"state":null,"auto_bill_amount":"YES","initial_fail_amount_action":"CONTINUE","accepted_payment_type":null,"char_set":null},"create_time":"2018-07-20T02:32:28.194Z","update_time":"2018-07-20T02:32:28.194Z","links":[{"href":"https://api.paypal.com/v1/payments/billing-plans/P-93W6066406709954NWWEAOIQ","rel":"self","method":"GET"}]}" } } [6]=> array(6) { ["file"]=> string(69) "/var/www/pilotsforkids.org/dues-donations/dues-subscription-start.php" ["line"]=> int(81) ["function"]=> string(6) "create" ["class"]=> string(15) "PayPal\Api\Plan" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> object(PayPal\Rest\ApiContext)#3 (2) { ["requestId":"PayPal\Rest\ApiContext":private]=> NULL ["credential":"PayPal\Rest\ApiContext":private]=> object(PayPal\Auth\OAuthTokenCredential)#2 (7) { ["clientId":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "AQtHuAQYFYHBDr_fP0kTTNzTwCY-H-XuaLMW0uNNKZ4HE-m3svacPDpTTBOzbQgp8wtk9h7G25hNPAkT" ["clientSecret":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "EFyl1neI_ZJJ1lWuFoxnwbeumwpcwqaGlbrGolffSzaXHhe88AM5yAfDmRt_qHOnfhX8qa9eNxqcPo0J" ["accessToken":"PayPal\Auth\OAuthTokenCredential":private]=> string(97) "A21AAEl3aQprZSkjLhLDyhVHE030EXQiTibkyyTbFxAl-fLqtDtIrSpjmeIoRKuS-MPcGlR1ndsoh8VuKPOBiphkBr3Ofy7dg" ["tokenExpiresIn":"PayPal\Auth\OAuthTokenCredential":private]=> int(32400) ["tokenCreateTime":"PayPal\Auth\OAuthTokenCredential":private]=> int(1532053947) ["cipher":"PayPal\Auth\OAuthTokenCredential":private]=> object(PayPal\Security\Cipher)#4 (1) { ["secretKey":"PayPal\Security\Cipher":private]=> string(80) "EFyl1neI_ZJJ1lWuFoxnwbeumwpcwqaGlbrGolffSzaXHhe88AM5yAfDmRt_qHOnfhX8qa9eNxqcPo0J" } ["_propMap":"PayPal\Common\PayPalModel":private]=> array(0) { } } } } } } ["previous":"Exception":private]=> NULL }