Unexpected display of “Use a new payment method”
-
I’ve come across an interesting edge case that’s causing my customers some confusion.
Under specific conditions, in the credit card block on the checkout page, a single, unselected radio button labeled “Use a new payment method” will appear. If the customer does not select this button, but fills out the rest of the checkout page successfully, the order will fail.
Customers are not seeing the button, or not selecting it, and so legitimate orders are failing. That’s the problem!
This issue occurs when the following conditions exist:
- the cart must only contain items that are free, but are shippable and have a shipping charge
- the customer must not have completed any shipping information on the cart page
- the customer’s browser cache must be cold
With these three criteria met, the checkout page (correctly) does not show the credit card block, because at this point, with no billing/shipping address, no payment is required. See https://store.umcdiscipleship.org/wp-content/uploads/2024/05/checkout-page-with-no-billing-info.png
When the customer completes their billing information, the order total is recalculated with the shipping charge, the credit card block appears, and so does the “Use new payment method” radio button. See:
https://store.umcdiscipleship.org/wp-content/uploads/2024/05/radio-button-displayed.pngI’m running Woo 8.8.2 and Woocommerce Stripe Gateway 8.2.0. I’ve been able to replicate this issue with all plugin disabled (except yours and Woo) running on the default Storefront theme. In your plugin, “Enable payments via save card” and “Enable the legacy checkout experience” are disabled.
I’ve submitted this to Woocommerce on ticket #8143515, but have received no response.
Thanks!
-
Hey there, @sdowney2002! Thanks for contacting us. I’m happy to help you.
Thank you for your detailed report.
I was not able to check the screenshots you shared because of the website firewall. Can you please upload them on a public platform such as https://snipboard.io so we can check them out?
Can you please update WooCommerce to 8.8.3?
Also, can you please go to WooCommerce > Settings > Payments > Stripe > Settings > Advanced Settings, enable debug mode and save the changes.
Then please run a test order to trigger the issue and generate error logs.
After that, please go to WooCommerce > Status > Logs and look for both Stripe and Fatal Errors. You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
the customer’s browser cache must be cold
To confirm, you mean the cache cannot have been cleared recently, correct?
Also, please share the System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
Looking forward to your reply.
Have a wonderful day!
Hey @carolm29, thanks for the quick reply!
Sorry about the firewall block. Screenshot of the checkout page with no customer shipping address is entered is: https://snipboard.io/DtA7o4.jpg
Screenshot of the radio button that appears after customer shipping address is entered is: https://snipboard.io/OBEJ3h.jpg
It may be 24hrs before I can update to 8.8.3 (we have a testing/development workflow I must go through). I’ll report back when that’s done, and upload the status report to github.
To clarify my comment about cold cache: yes, the cache must have been recently cleared. More precisely, the customer must not have previously placed an order with shipping information entered at checkout.
Be back with you shortly. Thanks for your help.
Steve D.
Hey, @sdowney2002!
Thank you for the screenshots and clarification about the cache.
You can take your time with the update and testing. We’ll be here when you are ready ??
Have a wonderful day!
To help with troubleshooting, I’ve reproduced this issue on a development site, which is a mirror image of my production site.
All plugins except, Woo, Stripe and my shipping calculator plugin (Flexible Shipping by Octalize) are disabled. The default Storefront theme is enabled.
The new checkout environment is enabled in your plugin, and enable payments via saved card is disabled. The Stripe testing environment is enable.
You can replicate the issue by adding this product to the cart: https://umcdstore.wpengine.com/product/lay-servant-ministries-catalog-2024/. This is a variable product with a $0.00 cost, but with a shipping charge that is calcuated at checkout. Select the “hard copy” variation and go to checkout.
At checkout, the Stripe checkout block does not appear at first, since the order total is $0.00 and no shipping information has been entered. Because there is a shipping charge, the total will be recalculated when the customer enters their shipping/billing address.
When the customer enter their address, the order total is recalculated to add the shipping charge. The Stripe checkout block appears with a radio button labeled: “use a new payment method” – even though “saved payment methods” is not enabled.
If the customer does not select the radio button, the order fails. (See Stripe plugin log file when order fails below.) If the customer does select the radio button, the order is processed as normal. (See order success log, below.)
It’s my thinking that the “use a new payment method” radio button is displaying by accident. My customers are not selecting the radio button (they have no need to select it) and their orders are failing.
This issue does not happen as long as the cart total is NOT $0.00 when the customer arrives at the checkout page. The issue also does not occur in the old checkout experience.
Log files below. Thanks for your help.
Steve D.
As requested – Woo system log:
WordPress Environment WordPress address (URL): https://umcdstore.wpengine.com Site address (URL): https://umcdstore.wpengine.com WC Version: 8.8.3 REST API Version: ? 8.8.3 Action Scheduler Version: ? 3.7.4 Log Directory Writable: ? WP Version: 6.5.3 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: – Language: en_US External object cache: ? Server Environment Server Info: nginx PHP Version: 8.2.18 PHP Post Max Size: 100 MB PHP Time Limit: 43300 PHP Max Input Vars: 10000 cURL Version: 7.81.0 OpenSSL/3.0.2 SUHOSIN Installed: – MySQL Version: 8.0.36-28 Max Upload Size: 50 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 8.8.3 WC Database Prefix: wp_ Total Database Size: 1147.55MB Database Data Size: 620.00MB Database Index Size: 527.55MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 21.56MB + Index: 35.23MB + Engine InnoDB wp_woocommerce_order_items: Data: 16.55MB + Index: 4.52MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 146.69MB + Index: 114.30MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.06MB + Index: 0.08MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_EWD_OTP_Custom_Fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_EWD_OTP_Customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_EWD_OTP_Fields_Meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_EWD_OTP_Order_Statuses: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_EWD_OTP_Orders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_EWD_OTP_Sales_Reps: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_accessibility_checker_global_ignores: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_accessibility_checker_logs: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_actionscheduler_actions: Data: 4.44MB + Index: 2.31MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 2.45MB + Index: 1.95MB + Engine InnoDB wp_advanced_notification_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_advanced_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_alp_pickup_location: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 21.55MB + Index: 17.09MB + Engine InnoDB wp_cwa: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cwcfp_conditional_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_edd_customermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_edd_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_extCCFA_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_extCCFA_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fbv: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fbv_attachment_folder: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_fooevents_check_in: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 3.50MB + Index: 0.17MB + Engine InnoDB wp_pbs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 271.84MB + Index: 253.73MB + Engine InnoDB wp_posts: Data: 28.56MB + Index: 19.09MB + Engine InnoDB wp_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_serial_numbers: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_serial_numbers_activations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_shortpixel_folders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_shortpixel_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_sib_model_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sib_model_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_snippets: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_term_relationships: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_toolset_post_guid_id: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 15.55MB + Index: 17.03MB + Engine InnoDB wp_users: Data: 1.52MB + Index: 0.84MB + Engine InnoDB wp_vtprd_purchase_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_vtprd_purchase_log_product: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_vtprd_purchase_log_product_rule: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_vxc_mailchimp_accounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_vxc_mailchimp_log: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_avatax_tax_codes: Data: 0.33MB + Index: 0.00MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 4.52MB + Index: 5.03MB + Engine InnoDB wp_wc_download_log: Data: 11.52MB + Index: 12.03MB + Engine InnoDB wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_bundle_lookup: Data: 8.52MB + Index: 14.09MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 20.55MB + Index: 19.06MB + Engine InnoDB wp_wc_order_stats: Data: 11.52MB + Index: 8.55MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.17MB + Index: 0.17MB + Engine InnoDB wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.09MB + Index: 0.13MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_zapier_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcepp_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wdr_order_item_discounts: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_role_counts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wobef_history: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wobef_history_items: Data: 0.50MB + Index: 0.22MB + Engine InnoDB wp_woo_shippment_provider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woochimp_scheduled_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_bundled_itemmeta: Data: 0.11MB + Index: 0.16MB + Engine InnoDB wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_pickup_locations_geodata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 23.05MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_email_tracking_events: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wpmailsmtp_email_tracking_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpmailsmtp_emails_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wp_wt_abandonment_coupon: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_xoo_wl_list: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_xoo_wl_list_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yith_wc_stripe_blacklist: Data: 0.02MB + Index: 0.05MB + Engine InnoDB Post Type Counts acf: 1 acf-field: 42 acf-field-group: 7 attachment: 709 condition_group: 1 custom_css: 3 custom_order_status: 5 customize_changeset: 6 cwginstocknotifier: 1 event_magic_tickets: 633 history: 4 jetpack_migration: 2 jp_img_sitemap: 1 jp_sitemap: 1 jp_sitemap_master: 1 lscontentblock: 2 mc4wp-form: 1 nav_menu_item: 28 oembed_cache: 13 page: 19 post: 1 product: 254 product_variation: 199 revision: 11 shop_coupon: 30 shop_order: 93513 shop_order_refund: 226 sidebar: 1 wafs: 1 wc_pickup_location: 1 wcec_email: 1 wcec_log_entry: 2 wcec_trigger: 1 wcp_ruleset: 1 woo_discount: 4 woo_discount_cart: 1 woocustomemails: 8 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (3) Flexible Shipping: by Octolize – 4.24.19 WooCommerce Stripe Gateway: by WooCommerce – 8.2.0 WooCommerce: by Automattic – 8.8.3 Inactive Plugins (26) Additional Custom Emails for WooCommerce Pro: by WPFactory – 2.8.0 Advanced Custom Fields PRO: by WP Engine – 6.2.9 Advanced Order Export For WooCommerce (Pro): by AlgolPlus – 3.5.1 Avalara AvaTax: by Avalara – 2.7.1 Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro: by codewoogeek – 5.3.2 Checkout Field Editor for WooCommerce (Pro): by ThemeHigh – 3.6.2 Classic Editor: by WordPress Contributors – 1.6.3 Conditional Payments for WooCommerce Pro: by Lauri Karisola / WPTrio.com – 3.1.1 Custom Order Status for WooCommerce Pro: by Tyche Softwares – 2.6.2 Custom Product Tabs for WooCommerce: by Code Parrots – 1.8.5 Discount Rules Core: by Flycart – 2.6.3 FileBird Pro: by Ninja Team – 6.2 Flexible Shipping PRO: by Octolize – 2.17.6 Product Bundles - Variation Bundles: by franticpsyx – 1.1.4 Redirection: by John Godley – 5.4.2 WooCommerce External Variable Product: by CrossPeak Software – 1.0.1 WooCommerce Local Pickup Plus: by SkyVerge – 2.11.3 WooCommerce Sequential Order Numbers Pro: by SkyVerge – 1.21.2 WooCommerce Shipment Tracking: by WooCommerce – 2.4.7 WooCommerce Sold Individually for Variations: by PT Woo Plugins (by Webdados) – 1.2 Woo Discount Rules PRO 2.0: by Flycart – 2.6.1 Woo Donations Pro: by Geek Code Lab – 2.7 Woo Min/Max Quantities: by Woo – 4.3.0 Woo Product Bundles: by Woo – 7.1.0 Wordfence Login Security: by Wordfence – 1.1.11 WP Mail SMTP Pro: by WP Mail SMTP – 4.0.2 Dropin Plugins () advanced-cache.php: advanced-cache.php object-cache.php: Memcached Redux Must Use Plugins (5) Force Strong Passwords - WPE Edition: by Jason Cosper – 1.8.0 WP Engine Cache Plugin: by WP Engine – 1.3.0 WP Engine Seamless Login Plugin: by WP Engine – 1.6.1 WP Engine Security Auditor: by wpengine – 1.1.1 WP Engine System: by WP Engine – 5.0.1 Settings API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: bundle (bundle) external (external) grouped (grouped) simple (simple) variable (variable) woosb (woosb) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ? Enforce Approved Product Download Directories: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – Logging Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 days Level threshold: – Log directory size: 883 KB WC Pages Shop base: #1275 - /shop-all/ Cart: #57 - /cart/ Checkout: #59 - /checkout/ My account: #61 - /my-account/ Terms and conditions: #2 - /terms-of-use/ Theme Name: Storefront Version: 4.5.5 Author URL: https://woocommerce.com/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? Templates Overrides: – Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked product-pre-publish-modal remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience product-custom-fields settings async-product-editor-category-field launch-your-store Daily Cron: ? Next scheduled: 2024-05-13 20:36:29 -04:00 Options: ? Notes: 13 Onboarding: completed Action Scheduler Complete: 8,702 Oldest: 2024-04-12 20:13:38 -0400 Newest: 2024-05-13 12:05:28 -0400 Failed: 22 Oldest: 2024-05-13 11:22:25 -0400 Newest: 2024-05-13 12:16:06 -0400 Pending: 9 Oldest: 2024-05-13 12:21:06 -0400 Newest: 2024-05-20 04:23:08 -0400 Status report information Generated at: 2024-05-13 12:18:16 -04:00 `
Stripe plugin log file when customer attempts checkout without selecting “use a new payment method” radio button. Transaction fails:
2024-05-13T21:58:38+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== customers request: Array ( ??? [email] => [email protected] ??? [description] => Name: Steve REDACTED, Guest ??? [name] => Steve REDACTED ??? [metadata] => Array ??????? ( ??????? ) ??? [preferred_locales] => Array ??????? ( ??????????? [0] => en-US ??????? ) ??? [address] => Array ??????? ( ??????????? [line1] => REDACTED ??????????? [line2] => ??????????? [postal_code] => REDACTED ??????????? [city] => REDACTED ??????????? [state] => REDACTED ??????????? [country] => US ??????? ) ) ====End Log==== 2024-05-13T21:58:39+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== customers response with stripe-version: 2019-09-09 ====End Log==== 2024-05-13T21:58:39+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_methods/ ====End Log==== 2024-05-13T21:58:39+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== Error: The information for creating and confirming the intent is missing the following data: payment_method. ====End Log====
Stripe plugin log file after customer selects ‘use a new payment method’. Transaction is successful:
2024-05-13T22:00:16+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_methods/pm_1PG6upHsIhUlsrtiGp5oMLe0 ====End Log==== 2024-05-13T22:00:16+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_intents request: Array ( ??? [capture_method] => automatic ??? [payment_method] => pm_1PG6upHsIhUlsrtiGp5oMLe0 ??? [shipping] => Array ??????? ( ??????????? [name] => Steve REDACTED ??????????? [address] => Array ??????????????? ( ??????????????????? [line1] => REDACTED ??????????????????? [line2] => ??????????????????? [city] => REDACTED ??????????????????? [country] => US ??????????????????? [postal_code] => REDACTED ??????????????????? [state] => REDACTED ??????????????? ) ??????? ) ??? [mandate_data] => Array ??????? ( ??????????? [customer_acceptance] => Array ??????????????? ( ??????????????????? [type] => online ??????????????????? [online] => Array ??????????????????????? ( ??????????????????????????? [ip_address] => REDACTED ??????????????????????????? [user_agent] => WooCommerce Stripe Gateway8.2.0; https://umcdstore.wpengine.com ??????????????????????? ) ??????????????? ) ??????? ) ??? [amount] => 345 ??? [confirm] => true ??? [currency] => usd ??? [customer] => cus_Q6JW6EHwLR97rm ??? [description] => DEV Discipleship Ministries Store - Order 105544 ??? [metadata] => Array ??????? ( ??????????? [customer_name] => Steve Downey ??????????? [customer_email] => REDACTED ??????????? [site_url] => https://umcdstore.wpengine.com ??????????? [order_id] => 105544 ??????????? [order_key] => wc_order_mYrJmPuUcbohc ??????????? [payment_type] => single ??????? ) ??? [payment_method_types] => Array ??????? ( ??????????? [0] => card ??????????? [1] => link ??????? ) ??? [statement_descriptor_suffix] => O #105544 ??? [level3] => Array ??????? ( ??????????? [merchant_reference] => 105544 ??????????? [shipping_amount] => 345 ??????????? [line_items] => Array ??????????????? ( ??????????????????? [0] => stdClass Object ??????????????????????? ( ??????????????????????????? [product_code] => 103682 ??????????????????????????? [product_description] => Lay Servant Ministries Cat ??????????????????????????? [unit_cost] => 0 ??????????????????????????? [quantity] => 1 ??????????????????????????? [tax_amount] => 0 ??????????????????????????? [discount_amount] => 0 ??????????????????????? ) ??????????????? ) ??????????? [shipping_address_zip] => 32301 ??????????? [shipping_from_zip] => 37212 ??????? ) ) ====End Log==== 2024-05-13T22:00:17+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_intents response with stripe-version: 2019-09-09 ====End Log==== 2024-05-13T22:00:17+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_intents request: Array ( ??? [capture_method] => automatic ??? [payment_method] => pm_1PG6upHsIhUlsrtiGp5oMLe0 ??? [shipping] => Array ??????? ( ??????????? [name] => Steve REDACTED ??????????? [address] => Array ??????????????? ( ??????????????????? [line1] => REDACTED ??????????????????? [line2] => ??????????????????? [city] => REDACTED ??????????????????? [country] => US ??????????????????? [postal_code] => REDACTED ??????????????????? [state] => REDACTED ??????????????? ) ??????? ) ??? [mandate_data] => Array ??????? ( ??????????? [customer_acceptance] => Array ??????????????? ( ??????????????????? [type] => online ??????????????????? [online] => Array ??????????????????????? ( ??????????????????????????? [ip_address] => REDACTED ??????????????????????????? [user_agent] => WooCommerce Stripe Gateway8.2.0; https://umcdstore.wpengine.com ??????????????????????? ) ??????????????? ) ??????? ) ??? [amount] => 345 ??? [confirm] => true ??? [currency] => usd ??? [customer] => cus_Q6JW6EHwLR97rm ??? [description] => DEV Discipleship Ministries Store - Order 105544 ??? [metadata] => Array ??????? ( ??????????? [customer_name] => Steve REDACTED ??????????? [customer_email] => REDACTED ??????????? [site_url] => https://umcdstore.wpengine.com ??????????? [order_id] => 105544 ??????????? [order_key] => wc_order_mYrJmPuUcbohc ??????????? [payment_type] => single ??????? ) ??? [payment_method_types] => Array ??????? ( ??????????? [0] => card ??????????? [1] => link ??????? ) ??? [statement_descriptor_suffix] => O #105544 ) ====End Log==== 2024-05-13T22:00:18+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_intents response with stripe-version: 2019-09-09 ====End Log==== 2024-05-13T22:00:18+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== Processing response: stdClass Object ( ??? [id] => ch_3PG6urHsIhUlsrti0FYjhMu1 ??? [object] => charge ??? [amount] => 345 ??? [amount_captured] => 345 ??? [amount_refunded] => 0 ??? [application] => ??? [application_fee] => ??? [application_fee_amount] => ??? [balance_transaction] => txn_3PG6urHsIhUlsrti00xQXqUJ ??? [billing_details] => stdClass Object ??????? ( ??????????? [address] => stdClass Object ??????????????? ( ??????????????????? [city] => REDACTED ??????????????????? [country] => US ??????????????????? [line1] => REDACTED ??????????????????? [line2] => ??????????????????? [postal_code] => REDACTED ??????????????????? [state] => REDACTED ??????????????? ) ??????????? [email] => REDACTED ??????????? [name] => Steve REDACTED ??????????? [phone] => REDACTED ??????? ) ??? [calculated_statement_descriptor] => DM STORE* O #105544 ??? [captured] => 1 ??? [created] => 1715637617 ??? [currency] => usd ??? [customer] => cus_Q6JW6EHwLR97rm ??? [description] => DEV Discipleship Ministries Store - Order 105544 ??? [destination] => ??? [dispute] => ??? [disputed] => ??? [failure_balance_transaction] => ??? [failure_code] => ??? [failure_message] => ??? [fraud_details] => stdClass Object ??????? ( ??????? ) ??? [invoice] => ??? [livemode] => ??? [metadata] => stdClass Object ??????? ( ??????????? [customer_email] => REDACTED ??????????? [customer_name] => Steve REDACTED ??????????? [order_id] => 105544 ??????????? [order_key] => wc_order_mYrJmPuUcbohc ??????????? [payment_type] => single ??????????? [site_url] => https://umcdstore.wpengine.com ??????? ) ??? [on_behalf_of] => ??? [order] => ??? [outcome] => stdClass Object ??????? ( ??????????? [network_status] => approved_by_network ??????????? [reason] => ??????????? [risk_level] => normal ??????????? [risk_score] => 32 ??????????? [seller_message] => Payment complete. ??????????? [type] => authorized ??????? ) ??? [paid] => 1 ??? [payment_intent] => pi_3PG6urHsIhUlsrti0oMZVcbL ??? [payment_method] => pm_1PG6upHsIhUlsrtiGp5oMLe0 ??? [payment_method_details] => stdClass Object ??????? ( ??????????? [card] => stdClass Object ??????????????? ( ??????????????????? [amount_authorized] => 345 ??????????????????? [brand] => visa ??????????????????? [checks] => stdClass Object ??????????????????????? ( ??????????????????????????? [address_line1_check] => pass ??????????????????????????? [address_postal_code_check] => pass ??????????????????????????? [cvc_check] => pass ??????????????????????? ) ??????????????????? [country] => US ??????????????????? [exp_month] => 8 ??????????????????? [exp_year] => 2028 ??????????????????? [extended_authorization] => stdClass Object ??????????????????????? ( ??????????????????????????? [status] => disabled ??????????????????????? ) ??????????????????? [fingerprint] => VF9GIYRSNznY4Wxc ??????????????????? [funding] => credit ??????????????????? [incremental_authorization] => stdClass Object ??????????????????????? ( ??????????????????????????? [status] => unavailable ??????????????????????? ) ??????????????????? [installments] => ??????????????????? [last4] => 4242 ??????????????????? [mandate] => ??????????????????? [multicapture] => stdClass Object ??????????????????????? ( ??????????????????????????? [status] => unavailable ??????????????????????? ) ??????????????????? [network] => visa ??????????????????? [network_token] => stdClass Object ??????????????????????? ( ??????????????????????????? [used] => ??????????????????????? ) ??????????????????? [overcapture] => stdClass Object ??????????????????????? ( ??????????????????????????? [maximum_amount_capturable] => 345 ??????????????????????????? [status] => unavailable ??????????????????????? ) ??????????????????? [three_d_secure] => ??????????????????? [wallet] => ??????????????? ) ??????????? [type] => card ??????? ) ??? [radar_options] => stdClass Object ??????? ( ??????? ) ??? [receipt_email] => ??? [receipt_number] => ??? [receipt_url] => https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xTTF1d2lIc0loVWxzcnRpKPKairIGMgb2j_qgCkg6LBY5KLQUyxvNKn9y-PmnF9s_jCaeljr_Tpa-7Vv1RC7ml8a6CgCYPTjV7NIJ ??? [refunded] => ??? [refunds] => stdClass Object ??????? ( ??????????? [object] => list ??????????? [data] => Array ??????????????? ( ??????????????? ) ??????????? [has_more] => ??????????? [total_count] => 0 ??????????? [url] => /v1/charges/ch_3PG6urHsIhUlsrti0FYjhMu1/refunds ??????? ) ??? [review] => ??? [shipping] => stdClass Object ??????? ( ??????????? [address] => stdClass Object ??????????????? ( ??????????????????? [city] => REDACTED ??????????????????? [country] => US ??????????????????? [line1] => REDACTED ??????????????????? [line2] => ??????????????????? [postal_code] => REDACTED ??????????????????? [state] => REDACTED ??????????????? ) ??????????? [carrier] => ??????????? [name] => Steve REDACTED ??????????? [phone] => ??????????? [tracking_number] => ??????? ) ??? [source] => ??? [source_transfer] => ??? [statement_descriptor] => ??? [statement_descriptor_suffix] => O #105544 ??? [status] => succeeded ??? [transfer_data] => ??? [transfer_group] => ) ====End Log==== 2024-05-13T22:00:19+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version2024-05-13T22:00:16+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_methods/pm_1PG6upHsIhUlsrtiGp5oMLe0 ====End Log==== 2024-05-13T22:00:16+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_intents request: Array ( ??? [capture_method] => automatic ??? [payment_method] => pm_1PG6upHsIhUlsrtiGp5oMLe0 ??? [shipping] => Array ??????? ( ??????????? [name] => Steve REDACTED ??????????? [address] => Array ??????????????? ( ??????????????????? [line1] => REDACTED ??????????????????? [line2] => ??????????????????? [city] => REDACTED ??????????????????? [country] => US ??????????????????? [postal_code] => REDACTED ??????????????????? [state] => REDACTED ??????????????? ) ??????? ) ??? [mandate_data] => Array ??????? ( ??????????? [customer_acceptance] => Array ??????????????? ( ??????????????????? [type] => online ??????????????????? [online] => Array ??????????????????????? ( ??????????????????????????? [ip_address] => REDACTED ??????????????????????????? [user_agent] => WooCommerce Stripe Gateway8.2.0; https://umcdstore.wpengine.com ??????????????????????? ) ??????????????? ) ??????? ) ??? [amount] => 345 ??? [confirm] => true ??? [currency] => usd ??? [customer] => cus_Q6JW6EHwLR97rm ??? [description] => DEV Discipleship Ministries Store - Order 105544 ??? [metadata] => Array ??????? ( ??????????? [customer_name] => Steve Downey ??????????? [customer_email] => REDACTED ??????????? [site_url] => https://umcdstore.wpengine.com ??????????? [order_id] => 105544 ??????????? [order_key] => wc_order_mYrJmPuUcbohc ??????????? [payment_type] => single ??????? ) ??? [payment_method_types] => Array ??????? ( ??????????? [0] => card ??????????? [1] => link ??????? ) ??? [statement_descriptor_suffix] => O #105544 ??? [level3] => Array ??????? ( ??????????? [merchant_reference] => 105544 ??????????? [shipping_amount] => 345 ??????????? [line_items] => Array ??????????????? ( ??????????????????? [0] => stdClass Object ??????????????????????? ( ??????????????????????????? [product_code] => 103682 ??????????????????????????? [product_description] => Lay Servant Ministries Cat ??????????????????????????? [unit_cost] => 0 ??????????????????????????? [quantity] => 1 ??????????????????????????? [tax_amount] => 0 ??????????????????????????? [discount_amount] => 0 ??????????????????????? ) ??????????????? ) ??????????? [shipping_address_zip] => 32301 ??????????? [shipping_from_zip] => 37212 ??????? ) ) ====End Log==== 2024-05-13T22:00:17+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_intents response with stripe-version: 2019-09-09 ====End Log==== 2024-05-13T22:00:17+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_intents request: Array ( ??? [capture_method] => automatic ??? [payment_method] => pm_1PG6upHsIhUlsrtiGp5oMLe0 ??? [shipping] => Array ??????? ( ??????????? [name] => Steve REDACTED ??????????? [address] => Array ??????????????? ( ??????????????????? [line1] => REDACTED ??????????????????? [line2] => ??????????????????? [city] => REDACTED ??????????????????? [country] => US ??????????????????? [postal_code] => REDACTED ??????????????????? [state] => REDACTED ??????????????? ) ??????? ) ??? [mandate_data] => Array ??????? ( ??????????? [customer_acceptance] => Array ??????????????? ( ??????????????????? [type] => online ??????????????????? [online] => Array ??????????????????????? ( ??????????????????????????? [ip_address] => REDACTED ??????????????????????????? [user_agent] => WooCommerce Stripe Gateway8.2.0; https://umcdstore.wpengine.com ??????????????????????? ) ??????????????? ) ??????? ) ??? [amount] => 345 ??? [confirm] => true ??? [currency] => usd ??? [customer] => cus_Q6JW6EHwLR97rm ??? [description] => DEV Discipleship Ministries Store - Order 105544 ??? [metadata] => Array ??????? ( ??????????? [customer_name] => Steve REDACTED ??????????? [customer_email] => REDACTED ??????????? [site_url] => https://umcdstore.wpengine.com ??????????? [order_id] => 105544 ??????????? [order_key] => wc_order_mYrJmPuUcbohc ??????????? [payment_type] => single ??????? ) ??? [payment_method_types] => Array ??????? ( ??????????? [0] => card ??????????? [1] => link ??????? ) ??? [statement_descriptor_suffix] => O #105544 ) ====End Log==== 2024-05-13T22:00:18+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_intents response with stripe-version: 2019-09-09 ====End Log==== 2024-05-13T22:00:18+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== Processing response: stdClass Object ( ??? [id] => ch_3PG6urHsIhUlsrti0FYjhMu1 ??? [object] => charge ??? [amount] => 345 ??? [amount_captured] => 345 ??? [amount_refunded] => 0 ??? [application] => ??? [application_fee] => ??? [application_fee_amount] => ??? [balance_transaction] => txn_3PG6urHsIhUlsrti00xQXqUJ ??? [billing_details] => stdClass Object ??????? ( ??????????? [address] => stdClass Object ??????????????? ( ??????????????????? [city] => REDACTED ??????????????????? [country] => US ??????????????????? [line1] => REDACTED ??????????????????? [line2] => ??????????????????? [postal_code] => REDACTED ??????????????????? [state] => REDACTED ??????????????? ) ??????????? [email] => REDACTED ??????????? [name] => Steve REDACTED ??????????? [phone] => REDACTED ??????? ) ??? [calculated_statement_descriptor] => DM STORE* O #105544 ??? [captured] => 1 ??? [created] => 1715637617 ??? [currency] => usd ??? [customer] => cus_Q6JW6EHwLR97rm ??? [description] => DEV Discipleship Ministries Store - Order 105544 ??? [destination] => ??? [dispute] => ??? [disputed] => ??? [failure_balance_transaction] => ??? [failure_code] => ??? [failure_message] => ??? [fraud_details] => stdClass Object ??????? ( ??????? ) ??? [invoice] => ??? [livemode] => ??? [metadata] => stdClass Object ??????? ( ??????????? [customer_email] => REDACTED ??????????? [customer_name] => Steve REDACTED ??????????? [order_id] => 105544 ??????????? [order_key] => wc_order_mYrJmPuUcbohc ??????????? [payment_type] => single ??????????? [site_url] => https://umcdstore.wpengine.com ??????? ) ??? [on_behalf_of] => ??? [order] => ??? [outcome] => stdClass Object ??????? ( ??????????? [network_status] => approved_by_network ??????????? [reason] => ??????????? [risk_level] => normal ??????????? [risk_score] => 32 ??????????? [seller_message] => Payment complete. ??????????? [type] => authorized ??????? ) ??? [paid] => 1 ??? [payment_intent] => pi_3PG6urHsIhUlsrti0oMZVcbL ??? [payment_method] => pm_1PG6upHsIhUlsrtiGp5oMLe0 ??? [payment_method_details] => stdClass Object ??????? ( ??????????? [card] => stdClass Object ??????????????? ( ??????????????????? [amount_authorized] => 345 ??????????????????? [brand] => visa ??????????????????? [checks] => stdClass Object ??????????????????????? ( ??????????????????????????? [address_line1_check] => pass ??????????????????????????? [address_postal_code_check] => pass ??????????????????????????? [cvc_check] => pass ??????????????????????? ) ??????????????????? [country] => US ??????????????????? [exp_month] => 8 ??????????????????? [exp_year] => 2028 ??????????????????? [extended_authorization] => stdClass Object ??????????????????????? ( ??????????????????????????? [status] => disabled ??????????????????????? ) ??????????????????? [fingerprint] => VF9GIYRSNznY4Wxc ??????????????????? [funding] => credit ??????????????????? [incremental_authorization] => stdClass Object ??????????????????????? ( ??????????????????????????? [status] => unavailable ??????????????????????? ) ??????????????????? [installments] => ??????????????????? [last4] => 4242 ??????????????????? [mandate] => ??????????????????? [multicapture] => stdClass Object ??????????????????????? ( ??????????????????????????? [status] => unavailable ??????????????????????? ) ??????????????????? [network] => visa ??????????????????? [network_token] => stdClass Object ??????????????????????? ( ??????????????????????????? [used] => ??????????????????????? ) ??????????????????? [overcapture] => stdClass Object ??????????????????????? ( ??????????????????????????? [maximum_amount_capturable] => 345 ??????????????????????????? [status] => unavailable ??????????????????????? ) ??????????????????? [three_d_secure] => ??????????????????? [wallet] => ??????????????? ) ??????????? [type] => card ??????? ) ??? [radar_options] => stdClass Object ??????? ( ??????? ) ??? [receipt_email] => ??? [receipt_number] => ??? [receipt_url] => https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xTTF1d2lIc0loVWxzcnRpKPKairIGMgb2j_qgCkg6LBY5KLQUyxvNKn9y-PmnF9s_jCaeljr_Tpa-7Vv1RC7ml8a6CgCYPTjV7NIJ ??? [refunded] => ??? [refunds] => stdClass Object ??????? ( ??????????? [object] => list ??????????? [data] => Array ??????????????? ( ??????????????? ) ??????????? [has_more] => ??????????? [total_count] => 0 ??????????? [url] => /v1/charges/ch_3PG6urHsIhUlsrti0FYjhMu1/refunds ??????? ) ??? [review] => ??? [shipping] => stdClass Object ??????? ( ??????????? [address] => stdClass Object ??????????????? ( ??????????????????? [city] => REDACTED ??????????????????? [country] => US ??????????????????? [line1] => REDACTED ??????????????????? [line2] => ??????????????????? [postal_code] => REDACTED ??????????????????? [state] => REDACTED ??????????????? ) ??????????? [carrier] => ??????????? [name] => Steve REDACTED ??????????? [phone] => ??????????? [tracking_number] => ??????? ) ??? [source] => ??? [source_transfer] => ??? [statement_descriptor] => ??? [statement_descriptor_suffix] => O #105544 ??? [status] => succeeded ??? [transfer_data] => ??? [transfer_group] => ) ====End Log==== 2024-05-13T22:00:19+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== balance/history/txn_3PG6urHsIhUlsrti00xQXqUJ ====End Log==== : 2019-09-09==== ====Start Log==== balance/history/txn_3PG6urHsIhUlsrti00xQXqUJ ====End Log====
Hi @sdowney2002,
Thank you for the additional details. I just tried this and I can confirm the behavior you describe (the radio button shows up, if I don’t check it, the order fails, as soon as I check it I’m able to place the order).
Could you please confirm this issue persists even after disabling the shipping plugin, though? This would allow us to place a bug report on our Github to our developers to look into this further.
Please let us know if the issue persists after disabling that one additional plugin.
Thanks!
-OPHi there @sdowney2002 ?? ,
We haven’t heard from you in a while; this is to check if you’ve been able to proceed with the troubleshooting steps provided before and if you still need help.
Thanks!
-OPApologies for the delay in responding. I had originally opened this issue at woocommerce.com, but received no reply. They have just now replied, have been able to reproduce the issue, and have opened an issue on the github repo. https://github.com/woocommerce/woocommerce-gateway-stripe/issues/3142
So, I think it’s safe to close the issue here. Thanks for your help.
Steve
- The topic ‘Unexpected display of “Use a new payment method”’ is closed to new replies.