• Resolved Carmelo Baglieri

    (@carmelobaglieri)


    I’m having this problem, here is the wc-log

    ====Stripe Version: 9.4.1====
    ====Stripe Plugin API Version: 2024-06-20====
    ====Start Log====
    Error: The information for creating and confirming the intent is missing the following data: payment_method. Payment information received: {"amount":620,"currency":"eur","customer":"":"*********","is_using_saved_payment_method":false,"level3":{"merchant_reference":46216,"shipping_amount":119,"line_items":[{"product_code":"45624","product_description":"Test - test1","unit_cost":409,"quantity":1,"tax_amount":90,"discount_amount":0}],"shipping_address_zip":"10121"},"metadata":{"customer_name":"":"*********","customer_email":"*********","site_url":"https:\/\/www.mercatoitinerante.it","order_id":"46216","order_key":"wc_order_6H6QYOm04bdX5","payment_type":"single","signature":"":"*********","tax_amount":116},"order":{"refunds":[],"customer_id":null},"payment_initiated_by":"initiated_by_customer","selected_payment_type":"card","payment_method_types":["card"],"shipping":{"name":"":"*********","address":{"line1":"Piazza della Repubblica, 26","line2":"","city":"Torino","country":"IT","postal_code":"10121","state":"TO"}},"token":false,"return_url":"https:\/\/www.mercatoitinerante.it\/pagamento\/order-received\/46216\/?key=wc_order_6H6QYOm04bdX5&order_id=46216&wc_payment_method=stripe&_wpnonce=":"*********&save_payment_method=no&pay_for_order=no","use_stripe_sdk":"true","has_subscription":false,"payment_method":"","payment_method_details":{},"payment_type":"single","confirmation_token":"","save_payment_method_to_store":false,"capture_method":"automatic"}. Calling method: create_and_confirm_payment_intent
    ====End Log====

    My checkout is wrapped in a vue application, but the problem is just with new plugin version, I re-installed the 9.4.1 one

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @carmelobaglieri,

    Thank you for reaching out. I completely understand how confusing and frustrating it can be when a setup that previously worked suddenly breaks.

    From the error, it appears that Stripe isn’t receiving essential payment details such as the credit card information or payment method ID — instead, it’s getting empty values. This kind of issue is usually caused by JavaScript errors or the payment form not loading correctly, which prevents the data from being properly processed.

    Since you’re using a custom checkout built with Vue, it’s likely that the integration is interfering with WooCommerce and Stripe’s standard processes. Because this involves a custom implementation, it falls outside the scope of our regular support. I recommend reaching out to a WooCommerce expert or a Vue developer familiar with WordPress, such as those available on platforms like Codeable.io, or consulting with other developers through the WooCommerce Slack community.

    Plugin Support Ejay F – a11n

    (@ejayfernandes)

    Hey there,

    Since we haven’t heard back in a bit, we’ll go ahead and mark this as resolved. If there’s anything else you’d like to follow up on, we’d be more than happy to continue from where we left off. Just let us know.

    If you found our support helpful, we’d be really thankful if you could leave us a review. It would mean a lot to us:
    https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/#new-post

    Thread Starter Carmelo Baglieri

    (@carmelobaglieri)

    Hi Moses, sorry for the delay. The problem is not the vue integration, the card is fully loaded and it works, the problem may be is the upe payment. It seems the plugin load ‘wc-stripe-payment-method-upe’ but it isn’t the correct post field needed from the plugin class to process the payment, it should be?

    Hi @carmelobaglieri,

    Thanks for getting back to me, your observation is absolutely valid.

    In the log you shared, both payment_method and payment_method_details are empty. This suggests that even though the card component is loading correctly, the payment method isn’t being captured or passed to the Stripe plugin during checkout.

    The log also confirms that wc-stripe-payment-upe was loaded, meaning the WooCommerce Stripe plugin is using the UPE (Unified Payment Experience), not the legacy Elements version: UPE Gateway Source

    So, your Vue integration needs to support UPE, not the older Elements approach. While UPE is part of the flow here, the root issue remains that no payment_method ID is being generated or submitted during the payment process. To resolve this, your Vue app should be aligned with Stripe’s UPE implementation.

    Thread Starter Carmelo Baglieri

    (@carmelobaglieri)

    Thank you for the answer. The Vue app is just a checkout wrapper, infact I tried to load the checkout normally and the problem is the same.

    The runned function is process_payment_with_payment_method and payment_informations not contains payment_method.

    Hi @carmelobaglieri,

    Thank you for your follow-up and for clarifying that the issue persists even when using the default checkout, independent of the Vue wrapper. That’s definitely helpful to know.

    To better isolate the cause, have you tried doing a full plugin conflict test to rule out any interference from other active plugins or your theme? You can follow this guide to safely test for conflicts: https://woocommerce.com/document/how-to-test-for-conflicts/

    Also, just to confirm — when you mentioned downgrading the WooCommerce Stripe plugin, did reverting to an earlier version (e.g., prior to 9.4.1) actually resolve the issue with the missing payment_method field? That would help us narrow down if a change in the plugin version introduced the behavior.

    Looking forward to hearing how it goes! Let’s see what we uncover next.

    Thread Starter Carmelo Baglieri

    (@carmelobaglieri)

    Sorry, it was my theme, thank you for your support

    Bravo @carmelobaglieri,

    I’m glad you went ahead with the conflict test as suggested by my colleague — it helped identify that the issue is coming from your theme. You can contact the theme’s support team to inform them so they can work on an update, or consider switching to a different theme.

    In the meantime, if the support you’ve received here has been helpful, we’d really appreciate it if you could leave us a review: https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/#new-post

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

The topic ‘payment_method not created’ is closed to new replies.