• Resolved Dan Zan

    (@softeye73)


    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

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter Dan Zan

    (@softeye73)

    Hi @omarfpg,

    I switched to a basic theme and it works. I can place a test order.

    however, when switching back to the previous theme, it still works and I cant reproduce the issue.

    I will be happy to call it a day and blame the theme but I can’t reproduce the issue now with the original theme

    any thoughts?

    thanks

    dan

    Hey, @softeye73!

    I will be happy to call it a day and blame the theme but I can’t reproduce the issue now with the original theme

    any thoughts?

    It is possible that in switching to another theme and then switching back it cleared what was causing the issue. Sometimes the good&old “switch off and on again” works.

    But, it is also possible that it was a coincidence and the theme was not what was causing the issue, so if it happens again, please let us know so we can continue to investigate it, all right?

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Have a wonderful day!

    Thread Starter Dan Zan

    (@softeye73)

    Hi @carolm29,

    Sounds good

    Again, thank you so much for your help

    Dan

    I’m glad we were able to help!

    I’ll close this thread for now, okay?

    If it happens again you can comment here or open a new one.

    Have a wonderful day!

    Thread Starter Dan Zan

    (@softeye73)

    OK

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Payment failure — > createPaymentMethod()’ is closed to new replies.