Hi @shoaib-fareed,
Do you have a staging site where this can be re-created? The Stripe plugin code does not change any address data unless one of the Stripe payment methods is selected.
Kind Regards,
Yes i have the Dev instnace!
@shoaib-fareed please share a link to that dev instance so I can re-create what you have described.
Hi @shoaib-fareed,
Your PayPal integration is not passing the billing address back and so the WC order doesn’t have any of those fields populated and then validation fails. Those error messages are coming directly from WC.
PayPal typically only exports the shipping address.
You can disable my plugin and I’ll test again to see if anything changes.
Have you checked the Video Screenshot? I have tested it with and without your plugin, With plugin it is not working as soon i disabled the plugin it working fine!
@shoaib-fareed
Ya I just watched the full video. My Stripe plugin doesn’t perform any address validations during the checkout process.
Send me the link to that PayPal plugin and I will test on my local site.
Also, it looks like you’re using some kind of multi-step checkout plugin that is generating an AJAX request every-time the next step button is clicked. What plugin is that? It’s not a true test unless that plugin is tested as well since it’s manipulating the checkout flow.
Kind Regards,
Hi @shoaib-fareed
Please perform a test with your multi-step checkout plugin disabled. I want to know if the issue occurs when you’re using a standard checkout process.
What multi-step checkout plugin are you using?
Kind Regards,
The Multi Step Is From The “Germanized” Plugin So yes it is somehow working fine When Disabled this plugin as well,
Now Two Cases:
1- Germanized enabled and Stripe Disabled Checkout working fine
2- Stripe Enabled and Germanized Disabled Checkout is working fine.
So both the plugin somehow having issues with each other?
@shoaib-fareed,
I’ll try and perform some tests when I get time to see what’s up.
This doesn’t look like a Stripe issue though since the Stripe plugin doesn’t trigger any of those validation errors, those are coming from WC.
It looks like the Multi-step option is part of the Pro plugin which I don’t have access to. You will need to reach out to me via the Help button in the Stripe plugin settings page.
I also recommend you reach out to the Germanized devs so they can take a look. They know their own code better than I will.
Kind Regards,
I have checked and found these Scripts are coming from the strip plugin directly that are forcing to validate the fields on checkout, but i dont have those fields there.
can you please look further: https://prnt.sc/107b09o
Hi @shoaib-fareed,
That is not correct, that code is not what’s triggering the validations. If you click F12 on your keyboard and view the network tab you can see the messages are coming from your server via an AJAX call. Here is the server response in JSON format:
{"result":"failure","messages":"<ul class=\"woocommerce-error\" role=\"alert\">\n\t\t\t<li data-id=\"billing_first_name\">\n\t\t\t<strong>Billing First name<\/strong> is a required field.\t\t<\/li>\n\t\t\t<li data-id=\"billing_last_name\">\n\t\t\t<strong>Billing Last name<\/strong> is a required field.\t\t<\/li>\n\t\t\t<li data-id=\"billing_address_1\">\n\t\t\t<strong>Billing Street address<\/strong> is a required field.\t\t<\/li>\n\t\t\t<li data-id=\"billing_postcode\">\n\t\t\t<strong>Billing Postcode \/ ZIP<\/strong> is a required field.\t\t<\/li>\n\t\t\t<li data-id=\"billing_city\">\n\t\t\t<strong>Billing Town \/ City<\/strong> is a required field.\t\t<\/li>\n\t\t\t<li data-id=\"billing_email\">\n\t\t\t<strong>Billing Email address<\/strong> is a required field.\t\t<\/li>\n\t<\/ul>\n","refresh":false,"reload":false}
The Stripe plugin’s client side validations are only triggered if a Stripe payment method is selected.
Kind Regards,