Unable to save this payment method, please try again or use alternative method.
-
A client want to change his payment method but when he tries to add the new card the plugin shows the error message:
Unable to save this payment method, please try again or use alternative method.
The card is fully ok and it exists at Stripe Dashboard as an valid card so I don’t know what happens, why the plugin don’t allow to save the card in my store
Thanks in advance!
The page I need help with: [log in to see the link]
-
Hi @fernandot,
Thanks for reaching out!
I understand that a client wants to change their payment method but are encountering the above error message when doing so, is this correct?
Please could you provide additional information on this so that we can assist you more effectively:
- Is this a recurring issue, or an isolated issue for one customer?
- Are you able to reproduce this issue on your end?
- A screenshot of the error message being displayed on the front end (if possible).
Snipboard.io can be used for easily sharing screenshots – please follow the instructions on that page, then paste the URL in this thread.
Also, can you navigate to WooCommerce → Settings →
Payments
→ Stripe, click onManage
→ Settings → Advanced Settings and enable “Log error messages” under Debug mode.Next, can you try and reproduce the issue and then navigate to WooCommerce → Status → Logs and share any fatal errors found there.
Additionally, could you please share a copy of your sites System Status Report which you can find via WooCommerce → Status. Select
Get system report
and thenCopy for support
.Once you have these, please share them in your response here.
Cheers!
Hola @beautyofcode
The capture of the error message is this one…
I had the log enabled but in the logs archive I cannot see any related to this issue with the plugin, only a general fatal error, this one, related to another plugin:
2023-04-10T10:24:02+00:00 CRITICAL require_once(): Failed opening required '/xxx/xxx/www/mantenimiento.ayudawp.com/public_html/wp-content/plugins/affiliate-wp-off/includes/admin/settings/class-settings.php' (include_path='.:/usr/local/php74/pear') en /xxx/xxx/www/mantenimiento.ayudawp.com/public_html/wp-content/plugins/affiliate-wp-off/uninstall.php en la línea 16 2023-04-10T10:26:31+00:00 CRITICAL require_once(): Failed opening required '/xxx/xxx/www/mantenimiento.ayudawp.com/public_html/wp-content/plugins/affiliate-wp-off/includes/admin/settings/class-settings.php' (include_path='.:/usr/local/php74/pear') en /xxx/xxx/www/mantenimiento.ayudawp.com/public_html/wp-content/plugins/affiliate-wp-off/uninstall.php en la línea 16
The system report is this…
` ### WordPress Environment ### WordPress address (URL): https://mantenimiento.ayudawp.com Site address (URL): https://mantenimiento.ayudawp.com WC Version: 7.6.0 REST API Version: ? 7.6.0 WC Blocks Version: ? 9.8.4 Action Scheduler Version: ? 3.5.4 Log Directory Writable: ? WP Version: 6.2 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: es_ES External object cache: ? ### Server Environment ### Server Info: Apache PHP Version: 7.4.33 PHP Post Max Size: 256 MB PHP Time Limit: 400 PHP Max Input Vars: 3000 cURL Version: 7.85.0 OpenSSL/3.0.8 SUHOSIN Installed: – MySQL Version: 5.7.39-42-log Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 7.6.0 WC Database Prefix: wpp2_ Tama?o total de la base de datos: 25.02MB Tama?o de los datos de la base de datos: 17.33MB Tama?o del índice de la base de datos: 7.69MB wpp2_woocommerce_sessions: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_woocommerce_api_keys: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_woocommerce_attribute_taxonomies: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_woocommerce_downloadable_product_permissions: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB wpp2_woocommerce_order_items: Datos: 0.05MB + índice: 0.02MB + Motor InnoDB wpp2_woocommerce_order_itemmeta: Datos: 0.36MB + índice: 0.19MB + Motor InnoDB wpp2_woocommerce_tax_rates: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB wpp2_woocommerce_tax_rate_locations: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wpp2_woocommerce_shipping_zones: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_woocommerce_shipping_zone_locations: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wpp2_woocommerce_shipping_zone_methods: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_woocommerce_payment_tokens: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_woocommerce_payment_tokenmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_woocommerce_log: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_actionscheduler_actions: Datos: 0.27MB + índice: 0.25MB + Motor InnoDB wpp2_actionscheduler_claims: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_actionscheduler_groups: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_actionscheduler_logs: Datos: 0.17MB + índice: 0.13MB + Motor InnoDB wpp2_affiliate_wp_affiliatemeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_affiliate_wp_affiliates: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_affiliate_wp_campaigns: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_affiliate_wp_connections: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_affiliate_wp_coupons: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_affiliate_wp_creatives: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_affiliate_wp_customermeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_affiliate_wp_customers: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_affiliate_wp_groups: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_affiliate_wp_notifications: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_affiliate_wp_payouts: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_affiliate_wp_referralmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_affiliate_wp_referrals: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_affiliate_wp_rest_consumers: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_affiliate_wp_sales: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_affiliate_wp_visits: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_commentmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_comments: Datos: 1.48MB + índice: 0.55MB + Motor InnoDB wpp2_et_divi_ab_testing_clients: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_et_divi_ab_testing_stats: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_et_social_stats: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_gla_budget_recommendations: Datos: 0.20MB + índice: 0.11MB + Motor InnoDB wpp2_gla_merchant_issues: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_gla_shipping_rates: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_gla_shipping_times: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_links: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_options: Datos: 4.42MB + índice: 0.27MB + Motor InnoDB wpp2_postmeta: Datos: 5.52MB + índice: 3.84MB + Motor InnoDB wpp2_posts: Datos: 2.50MB + índice: 0.34MB + Motor InnoDB wpp2_redirection_404: Datos: 0.06MB + índice: 0.05MB + Motor InnoDB wpp2_redirection_groups: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_redirection_items: Datos: 0.02MB + índice: 0.09MB + Motor InnoDB wpp2_redirection_logs: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wpp2_sgs_log_events: Datos: 0.06MB + índice: 0.00MB + Motor InnoDB wpp2_sgs_log_visitors: Datos: 0.14MB + índice: 0.00MB + Motor InnoDB wpp2_sm_sessions: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_termmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_terms: Datos: 0.06MB + índice: 0.03MB + Motor InnoDB wpp2_term_relationships: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_term_taxonomy: Datos: 0.05MB + índice: 0.03MB + Motor InnoDB wpp2_usermeta: Datos: 0.16MB + índice: 0.14MB + Motor InnoDB wpp2_users: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wpp2_wcpdf_credit_note_number: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_wcpdf_invoice_number: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_wcpdf_invoice_number_2021: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_wcpdf_packing_slip_number: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_wcpdf_proforma_number: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_wc_admin_notes: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_wc_admin_note_actions: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_wc_booking_relationships: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_wc_category_lookup: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_wc_customer_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_wc_download_log: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_wc_order_coupon_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpp2_wc_order_product_lookup: Datos: 0.08MB + índice: 0.06MB + Motor InnoDB wpp2_wc_order_stats: Datos: 0.08MB + índice: 0.05MB + Motor InnoDB wpp2_wc_order_tax_lookup: Datos: 0.06MB + índice: 0.03MB + Motor InnoDB wpp2_wc_product_attributes_lookup: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_wc_product_download_directories: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_wc_product_meta_lookup: Datos: 0.02MB + índice: 0.09MB + Motor InnoDB wpp2_wc_rate_limits: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_wc_reserved_stock: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_wc_tax_rate_classes: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_wc_webhooks: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpp2_wpr_rocket_cache: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wpp2_wpr_rucss_used_css: Datos: 0.02MB + índice: 0.09MB + Motor InnoDB wpp2_yith_wcbk_booking_notes: Datos: 0.05MB + índice: 0.00MB + Motor InnoDB wpp2_yith_wcbk_external_bookings: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_yith_wcbk_logs: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_yith_ywrac_email_log: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_yith_ywsbs_activities_log: Datos: 0.08MB + índice: 0.00MB + Motor InnoDB wpp2_yith_ywsbs_delivery_schedules: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_yith_ywsbs_order_lookup: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_yith_ywsbs_revenue_lookup: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_yith_ywsbs_stats: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpp2_ywsfl_list: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB ### Post Type Counts ### amn_exact-metrics: 1 amn_smtp: 1 attachment: 189 bookable_resource: 1 custom_css: 2 easy_affiliate_link: 13 et_pb_layout: 8 feedback: 159 flamingo_contact: 84 flamingo_inbound: 20 itsec-dash-card: 5 itsec-dashboard: 1 jetpack_migration: 2 nav_menu_item: 28 oembed_cache: 6 page: 12 post: 1 product: 4 product_variation: 6 shop_coupon: 2 shop_order: 469 shop_order_refund: 8 telemetry: 33 ticket: 2 ticket_history: 8 ticket_reply: 4 wc_booking: 156 wishlist: 2 wp_global_styles: 1 yith_booking: 44 ywpi-pdf-template: 4 ywrac_cart: 7 ywrac_email: 4 ywsbs_subscription: 69 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (15) ### ManageWP - Worker: por GoDaddy – 4.9.17 Menu Icons: por ThemeIsle – 0.13.5 Redirection: por John Godley – 5.3.10 SiteGround Optimizer: por SiteGround – 7.3.1 SiteGround Security: por SiteGround – 1.4.1 WooCommerce Stripe Gateway: por WooCommerce – 7.3.0 WP Menu Cart: por WP Overnight – 2.14.0 WooCommerce: por Automattic – 7.6.0 WP Mail SMTP: por WPForms – 3.7.0 WP Rocket: por WP Media – 3.13.0.2 SEOPress: por Los chicos del SEO de SEOPress – 6.5.0.3 YITH WooCommerce Checkout Manager: por YITH – 1.25.0 YITH WooCommerce Multi-step Checkout Premium: por YITH – 2.20.0 YITH WooCommerce PDF Invoices & Packing Slips Premium: por YITH – 4.6.0 YITH WooCommerce Subscription Premium: por YITH – 2.26.0 ### Inactive Plugins (3) ### Awesome Support: por Awesome Support Team – 6.1.2 PDF Invoices & Packing Slips for WooCommerce: por WP Overnight – 3.5.2 User Switching: por John Blackbourn & contributors – 1.7.0 ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php object-cache.php: Memcached ### Must Use Plugins (2) ### ManageWP - Worker Loader: por GoDaddy – Personalizaciones WooCommerce y WP.: por Fernando Tellado – 1.3 ### Settings ### API Enabled: ? Force SSL: ? Currency: EUR (€) Currency Position: right Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: booking (booking) external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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: – Order datastore: WC_Order_Data_Store_CPT ### WC Pages ### Base de la tienda: #11 - /tienda/ Carrito: #12 - /carro/ Finalizar compra: #13 - /finalizar-comprar/ Mi cuenta: #14 - /mi-cuenta/ Términos y condiciones: #219 - /condiciones-uso-pago-devoluciones/ ### Theme ### Name: Mantenimiento AyudaWP 2020 Version: (la actualización a la versión 0 está disponible) Author URL: Child Theme: ? Parent Theme Name: Divi Parent Theme Version: 4.20.4 Parent Theme Author URL: https://www.elegantthemes.com WooCommerce Support: ? ### Templates ### Overrides: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks 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: block-editor-feature-enabled minified-js new-product-management-experience product-variation-management settings Daily Cron: ? Next scheduled: 2023-04-14 18:57:37 +02:00 Options: ? Notes: 4 Onboarding: completed ### Action Scheduler ### Completo: 502 Oldest: 2023-03-14 13:00:47 +0100 Newest: 2023-04-14 11:24:23 +0200 Fallida: 44 Oldest: 2022-03-10 11:22:49 +0100 Newest: 2023-04-14 10:11:28 +0200 Pendiente: 36 Oldest: 2023-04-14 17:57:18 +0200 Newest: 2024-04-06 14:17:05 +0200 ### Status report information ### Generated at: 2023-04-14 12:28:04 +02:00 `
Hello,
Thanks for sending the system report.
As the next step, please switch the site theme temporarily to Storefront, and disable all plugins except WooCommerce and Stripe.
Check again to see if the issue persists, if not, it means that a conflict was affecting it, and you can reactivate the original theme, and then the rest of the plugins one by one until you find the cause of the issue.
More info: https://woocommerce.com/document/how-to-test-for-conflicts/
Let us know if that worked for you.
Hi @ihereira
I’ve already tested the usual procedure and the issue is only related to that card. I’ve added other cards with no problem :/
Hello @fernandot,
I’ve already tested the usual procedure and the issue is only related to that card.
I recommend asking the customer to check with their bank since the problem is related to a specific card.
Furthermore, if you enable the error logs for the extension, as previously mentioned, then request the customer to add the card again. You may find an error in the logs that explains why the card saving was declined.Alternatively, you can ask the customer to make a normal order and tick this box instead of adding the card through the “My Account” page.
Cheers!Hi @babylon1999
I’ll test your suggestions on Monday and give you the feedback. Thank you
Hi @fernandot ,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.
Cheers!
Sorry but the issue isn’t resolved ’cause I couldn’t try your suggestions with my client
Hi,
the issue is only related to that card
Sorry to hear that the issue persists. I understand that is only happening with one card.
I was inspecting the site, and I am getting an error in the browser console:
This is pointing to the plugin
YITH WooCommerce Checkout Manager: por YITH – 1.25.0
just to clarify was a conflict test performed? If you disable YITH WooCommerce Checkout Manager temporarily, does the issue persist? I recommend to reach out to the YITH WooCommerce Checkout Manager support to get more information about the error in the browser console.Let us know if that makes a difference.
- The topic ‘Unable to save this payment method, please try again or use alternative method.’ is closed to new replies.