square-php-sdk
square-php-sdk copied to clipboard
PHP client library for the Square API
I'm just clarifying what the minimum PHP version that is required for this SDK. The Readme says 7.4 but the composer.json file shows >=7.2. I currently have v7.3.16 of PHP....
**Describe the bug** The latest release of [unirest-php](https://github.com/apimatic/unirest-php) has removed static entities causing fatal php errors starting with BaseApi.php line 63. **Expected behavior** The sample code to work. **To Reproduce**...
**Describe the bug** For some reason, I get the following error: `Error: Class 'Square\SquareClient' not found` which is odd. I can definitely see the file. Works on my local, but...
Hi, Please fix the card link in the Payment Section. Also, How to delete a customer card with a new Card API? There is only disable card method.
You can find here https://github.com/square/connect-php-sdk/issues/94 previous issue where discussed the intergration of the "integration ID" in the charge request as integration_id is not present. In the new API IntegrationChargeRequest has...
hi i am trying to upload the image from my server to the square .but it wont work here is the code $image_data = new \Square\Models\CatalogImage(); $image_data->setName('Image name'); $image_data->setCaption('Image caption');...
We are seeing an issue with users in Australia attempting to use this gateway. Square injects the postal code as a required field, but does not accept a 4 digit...
https://github.com/square/square-php-sdk/blob/eae87553d5a2f2af5af403227ec43f9a3f6c6e77/src/ApiHelper.php#L173  When we called ->updateCustomer() on the package, if we sent up no parameters to the endpoint, it would return this error. As referenced in the code above, we...
I used the UpsertCatalogObject API using these information. Application ID sandbox-xxxxx--XXXXXXXXXXX Merchant ID XXXXXXXXXXX API Catalog Endpoint NameUpsertCatalogObject Status 200 Path POST /v2/catalog/object Square Version 2020-09-23 User Agent Square-PHP-SDK/6.4.0.20200923 Timestamp...
I'm of the opinion that either 1. source should not be a required parameter if it won't always be sent 2. the api should never omit it in responses if...