connect-php-sdk icon indicating copy to clipboard operation
connect-php-sdk copied to clipboard

Link to Square Connect documents is broken

Open zamliyconsulting opened this issue 4 years ago • 3 comments

@jessdelacruzsantos I will never understand why Square makes such drastic changes and breaks things all the time. The new SDK is so much more difficult for those of us who are not real programmers. The other method was so much friendlier.

Also, the link to the documentation for the Square connect is broken. Can you please fix it?

zamliyconsulting avatar Jun 29 '20 11:06 zamliyconsulting

Hello @zamliyconsulting, the link is now fixed on master.

If you have a moment, I'd love to record feedback on the issues you are having with the new PHP SDK.

jessdelacruzsantos avatar Jun 29 '20 20:06 jessdelacruzsantos

To start with, why should I be worried about knowing what files to include each time? Also, I get the following error when I try to run your sample Locations code in production:

Fatal error: Uncaught Error: Class 'Unirest\Request' not found in C:\inetpub\wwwroot\XXXX\vendor\square-php-sdk-master\src\Apis\LocationsApi.php:60 Stack trace: #0 C:\inetpub\wwwroot\XXXX\test.php(26): Square\Apis\LocationsApi->listLocations() #1 {main} thrown in C:\inetpub\wwwroot\XXXX\vendor\square-php-sdk-master\src\Apis\LocationsApi.php on line 60

zamliyconsulting avatar Jul 03 '20 11:07 zamliyconsulting

That error most likely means that a dependency is missing. Are you using composer to install? If not, we've updated the sdk's installation instructions to include manual installation.

jessdelacruzsantos avatar Jul 06 '20 17:07 jessdelacruzsantos