Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

«Invalid value for 'capabilities', must be one of 'CREDIT_CARD_PROCESSING'» #1

Closed
dmitrii-fediuk opened this issue Jan 28, 2017 · 1 comment

Comments

@dmitrii-fediuk
Copy link
Member

Exception #0 (InvalidArgumentException): Invalid value for 'capabilities', must be one of 'CREDIT_CARD_PROCESSING'
#0 vendor/square/connect/lib/ObjectSerializer.php(273): SquareConnect\Model\Location->setCapabilities(Array)
#1 vendor/square/connect/lib/ObjectSerializer.php(241): SquareConnect\ObjectSerializer::deserialize(Object(stdClass), '\SquareConnect\...')
#2 vendor/square/connect/lib/ObjectSerializer.php(273): SquareConnect\ObjectSerializer::deserialize(Array, '\SquareConnect\...')
#3 vendor/square/connect/lib/Api/LocationApi.php(167): SquareConnect\ObjectSerializer::deserialize(Object(stdClass), '\SquareConnect\...', Array)
#4 vendor/square/connect/lib/Api/LocationApi.php(104): SquareConnect\Api\LocationApi->listLocationsWithHttpInfo('sandbox-sq0atb-...')
#5 vendor/mage2pro/square/Source/Location.php(23): SquareConnect\Api\LocationApi->listLocations('sandbox-sq0atb-...')
#6 vendor/mage2pro/core/Config/SourceT.php(22): Dfe\Square\Source\Location->map()

dmitrii-fediuk added a commit that referenced this issue Jan 28, 2017
dmitrii-fediuk added a commit that referenced this issue Jan 28, 2017
@dmitrii-fediuk
Copy link
Member Author

dmitrii-fediuk commented Jan 28, 2017

The Square team broke its own library (PHP SDK).
I have forked it and fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant