I can not figure out why I keep getting this error. I have set up the button correctly and receive an alert with subscriptionID, orderID but when going to my processing page to insert into database. I keep getting the error on the line for $client = PayPalClient::client(); My environment was set up correctly per the information on PayPal site. It works with a checkout smart button but I am switching my website to subscription based instead of a checkout cart system. Does the environment need to be set up differently for subscriptions or can you not use the SDK for subscriptions with using class getOrder? Oh and I am using the sandbox environment currently on my localhost to test out my code before going live. Thank you Brittney
... View more