• Resolved alerion2

    (@alerion2)


    You specified “never” for fields.billing_details.name when creating the payment Element, but did not pass params.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 receive this error on my ecommerces when someone tries to pay with stripe

Viewing 4 replies - 1 through 4 (of 4 total)
  • Sai (woo-hc)

    (@saivutukuru)

    Hi @alerion2,

    Thanks for reaching out. The error you shared typically occurs when Stripe expects the billing name, but it’s not being passed through the checkout.

    To clarify, are you using the official WooCommerce Stripe Gateway plugin or a custom integration? If you’re using the plugin, please let us know the version you’re on and whether the checkout page has been customized to remove the billing name field.

    It would also help if you could share your System Status Report. 
    You can get a System Status Report by going to WooCommerce > Status > Get system report, then paste it into https://pastebin.com or https://gist.github.com

    As a quick check, please try re-enabling the billing name field in checkout (if it was disabled) to see if the error goes away. This can help confirm whether the issue is related to the missing field.

    Thread Starter alerion2

    (@alerion2)

    I’m using the standard checkout fields and this plugin here. https://pastebin.com/3ZJq3QVq here is the status report.

    thanks

    • This reply was modified 7 months ago by alerion2.
    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the system status report. I’ve reviewed it, and everything looks fine on my end. However, I notice that your site is running multiple plugins and some outdated templates.

    I suspect one of the plugins may be causing the issue. Can you please provide more information about exactly when the issue started appearing? Were any changes made just before the problem began? I’m asking because I haven’t been able to replicate the issue on my end.

    In the meantime, For testing purposes, could you please create a staging site and then:

    1. Deactivate all plugins except WooCommerce and WooCommerce Stripe Gateway.
    2. Switch to a default theme such as Twenty Twenty-Five.
    3. Enable Stripe Test Mode and try placing a test order.

    This will help confirm if the issue is related to a conflict. Creating a staging site ensures your live site is not affected:
    🔗 https://wordpress.org/plugins/wp-staging/

    You can also follow this guide to enable Stripe Test Mode:
    🔗 https://woocommerce.com/document/stripe/customer-experience/testing/

    If the issue persists, please keep Stripe Test Mode active and share the staging site URL so we can try to replicate the problem.

    Additionally, please share any fatal error logs (if available) under:
    WooCommerce > Status > Logs

    Plugin Support Ejay F – a11n

    (@ejayfernandes)

    Hi @alerion2,

    It’s been some time since your last message, so we’ll close this thread.

    We’d appreciate hearing your thoughts about your experience with Stripe and our support. You can leave a review here:
    https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/#new-post

    You’re always welcome to create a new topic if you need assistance.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Issues with stripe’ is closed to new replies.