-
Notifications
You must be signed in to change notification settings - Fork 55
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
CreditcardInstructionStrategy::execute(): ErrorException: Warning: Undefined property: stdClass::$cardHolder #937
Comments
Hi @mklepaczewski , thank you for reporting this issue. We haven't encountered this specific warning before, and it seems to be an edge-case problem, potentially caused by a conflict with another plugin or configuration in your environment. Unfortunately, we're unable to reproduce the error on our end. We noticed you're using an older version of the Mollie plugin (v7.6.0). It might be worth updating to the latest version, as this could resolve the issue. However, since this may also be related to Mollie's API or data structure, I would recommend reaching out to the Mollie Support Team to get further assistance, as they might have more insights on this behavior. If you can provide more details on how to consistently reproduce this issue, feel free to share that with us, and we'll take another look. |
I tracked down the issue. According to Mollie's REST documentation for GET Payment PR has been created, see #940 |
You can email me at |
@fjbender Sent. Thank you for the quick reply👍 |
This happens for Apple Pay payments, where we treat the payment as a card payment but don't have a cardholder name. The change proposed in #940 is valid IMHO. |
WordPress: 6.4.1
WooCommerce: 9.0.2
PHP: 8.1.2
Mollie plugin: 7.6.0
PHP reports:
Warning: Undefined property: stdClass::$cardHolder
on the checkout success page. Stack trace:The text was updated successfully, but these errors were encountered: