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

Check if account has documents #22

Closed
wants to merge 1 commit into from
Closed

Conversation

sweebee
Copy link

@sweebee sweebee commented Mar 7, 2022

If an account doesn't require documents the api returns an empty string. This change will do a check first before looping over the array.

Fixes #21

If an account doesn't require documents the api returns an empty string. This change will do a check first before looping over the array.
@escruickshank
Copy link
Contributor

Hi @sweebee, thank you for your suggestion! We fixed this issue in[ release 2.0.0 ] (https://github.com/paynl/sdk-alliance/releases/tag/v2.0.0) (july 2022). The change can be viewed here: https://github.com/paynl/sdk-alliance/blob/master/src/Result/Merchant/Get.php#L40

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.

Exception on getting documents for accounts
2 participants