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

UpdateCustomerRequest use to fix Square TypeError #71

Merged

Conversation

alexoleynik0
Copy link
Contributor

Every time setCustomer with old $customer was called, this error occured:

TypeError: Argument 2 passed to Square\Apis\CustomersApi::updateCustomer() must be an instance of Square\Models\UpdateCustomerRequest, instance of Square\Models\CreateCustomerRequest given.

fixes #70

@NikolaGavric94 NikolaGavric94 merged commit 0f3093b into NikolaGavric94:master Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Charge with old customer issue
2 participants