Closed gglobalstep closed 10 months ago
Using git bisect
, I found that https://github.com/Automattic/woocommerce-payments/pull/5869 caused the problem.
+cc @timur27 @FangedParakeet
Cheers for the ping, @shendy-a8c! This has been identified and will be resolved in #6230. 👍
I have a user seeing this error when putting WCPay in test mode. Even with all CC fields filled. 6816351-zen
Looks likely to be a conflict, in staging & WCPay in safe mode, the error is seen in live mode, but not testing mode.
Isolated incident, with this happening again in version 6.6.0. Downgrading to 6.5.1 resolves the issue.
Internal: 7168377
Hey @sverleis, thanks for the report! I followed the steps from the description on my JN site (https://naughty-cottonmouth.jurassic.ninja) but wasn't able to reproduce it, as I'm getting the expected error message.
Do you happen to know if any steps to reproduce have been changed or if I'm missing some steps in the instructions? Thanks!
7214824-zd-a8c
I am able to trigger this error using a 4242
test card on a site with live payments enabled. Using a live card does not give the same issue.
Hey @francoishvz and everyone.
We currently have this draft PR to handle errors, and I think this will be part of 6.8.0
.
@timur27 did this make it into 6.8.0?
@pierorocca, thanks for the ping and apologies this issue wasn't updated on time (we had another PR created for this and multiple connections between different small issues on checkout error messaging improves so this got missed unfortunately).
did this make it into 6.8.0?
Yes, closing.
Bug Description:
"Cannot read properties of undefined (reading 'id')" notice displayed after clicking "Place Order" with missing credit card fields on "Checkout" page.
Environment:
Woocommerce Version: WooCommerce 7.6.1 WooCommerce Payments - 5.9.0-test-2 WordPress version: v6.2
PC: Windows 10, Chrome(Version 113.0.5672.93) Firefox (Version 112.0.2)
Steps To Reproduce:
Instruction Link:
https://github.com/Automattic/woocommerce-payments/wiki/Testing-instructions-for-critical-flows#new-upe-regular-checkout
Actual Result:
"Cannot read properties of undefined (reading 'id')" notice displayed after clicking "Place Order" with missing credit card fields on "Checkout" page.
Expected Result:
Appropriate notice should be displayed after clicking "Place Order" with missing credit card fields on "Checkout" page.
Screenshot:
Isolating the problem (mark completed items with an [x]):