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

1.4.1 doCreateCustomer update doesn't account for Customer being passed as argument #27

Open
beattie19 opened this issue Aug 29, 2022 · 0 comments

Comments

@beattie19
Copy link

beattie19 commented Aug 29, 2022

This line of code assumes that $customer is an array. However, it can be a Customer or an array.

Implementing this version upgrade in our codebase caused issues for us because we are passing a Customer object to createCustomer and resulted in the following error: Cannot use object of type Eway\Rapid\Model\Customer as array.

Originally posted by @beattie19 in #26 (comment)

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

No branches or pull requests

1 participant