-
Notifications
You must be signed in to change notification settings - Fork 217
Description
Description
On credit card checkout, there is an error "Missing billing_address_1"
The payment is not sent to Stripe, so there is no failed payment in Stripe.
When a new user registers, address, city, state and zip fields are created in the usermeta table. Fields for billing_address_1, billing_city, etc are not created.
I build the order using code and add the billing and shipping fields there. If I open the pending order, the billing and shipping fields are there.
It is not just the address field. If any of the billing_ fields are missing in userdata, it will error and list that field.
If I reset the plugin to v9.6 it does not have an error.
Another thing I found. If an older user that has used this platform in the pass to sign up for something does the same thing, there is no problem. This is even if the do not have billing_ fields in their usermeta. Or, if I add the billing_ fields to the new user, Do a transaction, then remove the fields and do another transaction it works ok. I assume these fields are created in some woocommerce table and it can find them there later.
Steps to reproduce
You can only reproduce this with admin assistance. (unless you want to pay and sign up for a karate tournament)
A new user registers, then tries to signup for the event and gets this error.
Expected behavior
Process the order using the billing fields I added to the order and that appear in the order if I open it in wordpress.