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

Undefined property: stdClass::$code in /woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-payment-gateway.php on line 1637 #2678

Open
glagonikas opened this issue Aug 14, 2023 · 0 comments · May be fixed by #2703

Comments

@glagonikas
Copy link

Describe the bug
We seem to be getting random notices in our logs as shown below

PHP Notice:  Undefined property: stdClass::$code in /home/site/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-payment-gateway.php on line 1637

To Reproduce
We've not looked at this too deeply and don't have the steps to reproduce, but they seem to occur on /wp-admin/admin-ajax.php

Environment (please complete the following information):

  • WordPress Version 6.2
  • WooCommerce Version 7.9.0
  • Stripe Plugin Version 7.5.0

Additional context
We also appear to have plenty of failed orders where customers did not complete 3DS and Stripe is showing us

3D Secure attempt incomplete
The cardholder began 3D Secure authentication but has not completed it.

Looking at the related function, this issue might be related but we're not in a position to confirm right now.

@glagonikas glagonikas linked a pull request Sep 18, 2023 that will close this issue
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 a pull request may close this issue.

1 participant