• Resolved waqas2081

    (@waqas2081)


    I am on a woocommerce site. The payments on the front of websites works well with the stripe plugin but when I create a manual order from WP dashboard and then go to payment link and try to pay I get error and this is what I get in the logs.

    Error: The information for creating and confirming the intent is missing the following data: payment_method. Payment information received: {"amount":400,"currency":"usd","customer":"cus_SEW8qw5PNk0atf","is_using_saved_payment_method":false,"level3":{"merchant_reference":2813,"shipping_amount":0,"line_items":[{"product_code":"2812","product_description":"test test","unit_cost":200,"quantity":2,"tax_amount":0,"discount_amount":0}],"shipping_address_zip":"94577","shipping_from_zip":"80022"},"metadata":{"customer_name":"Robert Edwards","customer_email":"","site_url":"https:\/\/amaricoatings.com","order_id":"2813","order_key":"wc_order_1wRJITnLLAVz3","payment_type":"single","signature":"2813:650211933dafdb391f299f972ca8f20b","tax_amount":0},"order":{"refunds":null,"customer_id":null},"payment_initiated_by":"initiated_by_customer","selected_payment_type":"card","payment_method_types":["card","link"],"shipping":{"name":"Robert Edwards","address":{"line1":"1 Estabrook St, San Leandro, CA 94577, United States","line2":"","city":"San Leandro,","country":"US","postal_code":"94577","state":"CA"}},"token":false,"return_url":"https:\/\/amaricoatings.com\/checkout\/order-received\/2813\/?key=wc_order_1wRJITnLLAVz3&order_id=2813&wc_payment_method=stripe&_wpnonce=3808fbadbd&save_payment_method=no&pay_for_order=yes","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

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter waqas2081

    (@waqas2081)

    Update. I enabled the legacy checkout experience from the settings of stripe plugin now i get this in the logs:

    2025-05-01T20:19:54+00:00 Debug ====Stripe Version: 9.4.1==== ====Stripe Plugin API Version: 2024-06-20==== ====Start Log==== customers/search request: Array ( [query] => name:” AND email:” ) ====End Log==== 2025-05-01T20:19:55+00:00 Debug ====Stripe Version: 9.4.1==== ====Stripe Plugin API Version: 2024-06-20==== ====Start Log==== customers/search response with stripe-version: 2024-06-20 ====End Log==== 2025-05-01T20:19:55+00:00 Debug ====Stripe Version: 9.4.1==== ====Stripe Plugin API Version: 2024-06-20==== ====Start Log==== customers request: Array ( [email] => [description] => Name: , Guest [metadata] => Array ( ) [preferred_locales] => Array ( [0] => en-US ) [address] => Array ( [line1] => [line2] => [postal_code] => [city] => [state] => [country] => ) ) ====End Log==== 2025-05-01T20:19:55+00:00 Debug ====Stripe Version: 9.4.1==== ====Stripe Plugin API Version: 2024-06-20==== ====Start Log==== customers response with stripe-version: 2024-06-20 ====End Log==== 2025-05-01T20:19:55+00:00 Debug ====Stripe Version: 9.4.1==== ====Stripe Plugin API Version: 2024-06-20==== ====Start Log==== Error: stdClass Object ( [token_id] => [customer] => cus_SEWdi63FjpafCZ [source] => [source_object] => [payment_method] => ) ====End Log==== 2025-05-01T20:20:01+00:00 Debug ====Stripe Version: 9.4.1==== ====Stripe Plugin API Version: 2024-06-20==== ====Start Log==== Stripe Express Checkout does not support free products. ====End Log====

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the error message and logs. The error you’re encountering when placing an order indicates that the payment method is missing while trying to create and confirm a payment intent with Stripe.

    To assist you further, could you please confirm whether the customer is selecting a payment method during checkout? Also, could you specify which payment method is being used when the error occurs?

    In the meantime, could you please try enabling the Stripe test account, create a manual order, and attempt to place the order to see if it works for you?

    Also, the error logs you shared indicate: Error related to Missing Payment Method, issue related to Customer Email: The email field is empty in the metadata. The error likely originates from a missing step in the payment flow, where the user is either not selecting a payment method or there’s an issue passing it to the Stripe API. Could you please make a test order and ensure the following information is added properly?

    In the meantime, I’d like to understand your site properly. Please share System Status Report which you can find via WooCommerce > Status

    Please use https://pastebin.com/ or https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further.

    Thread Starter waqas2081

    (@waqas2081)

    Yes i have already tested on a test order with a test stripe account. The link i shared is a test order i created and right now test account is also enabled from the stripe settings.

    I am trying to pay via credit card, while i try to pay with COD it works.

    I am attaching the link to the  System Status Report below.

    https://pastebin.com/brHytGz8

    Plugin Support LovingBro (woo-hc)

    (@lovingbro)

    Hi @waqas2081,

    Thanks so much for the additional details and for sharing your System Status Report. That really helps in understanding the setup more clearly.

    I checked the order link you initially shared, and it appears that the order has since been moved to the trash. Because of this, I’m unable to access the payment page to test further. When you get a moment, please either restore or recreate the order and share the new link or, alternatively, send over a screenshot of the payment page right after attempting the payment. That way, I can get a better view of what’s happening on your end.

    On my side, I’ve tested a manually created test order using Stripe in test mode, and everything processed without issue. Based on that and a quick look through your system status, nothing major stands out that should be causing the error you’re seeing. That said, I did notice your WooCommerce database version is currently 9.7.1, while the plugin version is 9.8.3. It’s a good idea to keep both in sync to avoid unexpected issues like this one.

    To update your WooCommerce database, go to WooCommerce > Status > Tools, then scroll down to Update database and follow the prompt to run the update.

    Let me know once that’s done, and feel free to share the updated order link or screenshot so we can continue troubleshooting if needed.

    Looking forward to your update!

    Plugin Support Chris Moreira – a11n

    (@chrism245)

    I’m going to mark this as resolved, as we haven’t heard back from you in a while. Please open a new thread if you need further assistance.

    Your feedback is crucial for our continuous improvement and helps others in the community.

    Leave your review at: https://ww.wp.xz.cn/support/plugin/woocommerce-gateway-stripe/reviews/

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

The topic ‘Cannot pay through manual order’ is closed to new replies.