Can I pay you $25 to send me the files where I just need to change the credentials ?
This is so confusing and I feel like you’re going to give up on me any second
For the first one: you have an invalid access token, that’s the only way unauthorized errors happen.
For the second one: I think I know what’s happening. It sounds like you downloaded the old SDK, but not the new SDK. The old SDK and new SDK have different models (for example Configuration vs SquareClient), so the autoload is probably working, but since you have the wrong SDK it still doesn’t actually exist. This is the current (new) SDK: GitHub - square/square-php-sdk: PHP client library for the Square API.