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

Add check for refunds array if it is not undefined #222

Merged
merged 2 commits into from
Nov 3, 2021

Conversation

zaifastafa
Copy link
Contributor

In a shop for a client, I was having an issue when using mollie credit card payment that the order items in the order details was not showing up in the admin section. The error was giving an "undefined" error at this point when reading the length property. Adding an additional check here for refunds array if it is available before checking for length solves the problem.

image

In a shop for a client, I was having an issue when using mollie credit card payment that the order items in the order details was not showing up in the admin section. The error was giving an "undefined" error at this point when reading the length property. Adding an additional check here for refunds array if it is available before checking for length solves the problem.
@boxblinkracer
Copy link
Collaborator

Hi

thank you so much for this fix.
definitley going to add it

please give us a bit, we'll create a ticket and so on

thank you so much for helping to improve the quality of the plugin

@boxblinkracer boxblinkracer merged commit 028f5de into mollie:master Nov 3, 2021
@zaifastafa zaifastafa deleted the patch-1 branch November 3, 2021 12:24
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.

None yet

2 participants