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

Error when checking for errors in TransferOutput #4

Open
Justas-S opened this issue Mar 4, 2018 · 1 comment
Open

Error when checking for errors in TransferOutput #4

Justas-S opened this issue Mar 4, 2018 · 1 comment

Comments

@Justas-S
Copy link

Justas-S commented Mar 4, 2018

According to documentation in TransferOutput getFailureStatus may return null, which complies with the specification. But if you try to get the failure object when it is not present, it fails with an error message because failure_status is not set in the underlying array.

The error

TypeError: Argument 1 passed to Paysera\Component\RestClientCommon\Entity\Entity::setDataByReference() must be of the type array, null given, called in ...
@Abdulphpdeveloper
Copy link

createApiClient function is missing https://prnt.sc/7moGW-tRUJR_

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

2 participants