Payment failure — > createPaymentMethod()
-
Some of my customers reposted the following error popup during checkout.
You specified "never" for fields.billing_details.name when creating the payment Element, but did not pass params.payment_method_data.billing_details.name when calling stripe.createPaymentMethod). If you opt out of collecting data via the payment Element using the fields option, the data must be passed in when calling stripe.createPaymentMethod().
I believe this issue may be related to having both the Stripe and WooPayments plugins installed.
After removing the Stripe plugin and testing it a few times, everything seemed to work fine. However, recently I encountered the same errors again, but it’s not consistent. Some payments go through with no issues, and then I receive an email from a customer reporting the same issue. Today, I tested it again in “Test Mode” and was able to reproduce it. I switched the logs to debug mode, but found no issues and couldn’t reproduce the issue anymore.
I’m wondering if anyone can provide some pointers or if I’m missing something here.
P.S. I’m using Siteground and have a few Siteground plugins for security and optimization installed.
Thank you,
Dan
- The topic ‘Payment failure — > createPaymentMethod()’ is closed to new replies.