Error when Checkout
-
Hello,
When trying a payment with my credit card on my site, this message appeared at the bottom of the Checkout page :
Warning: Undefined array key “Payment – Credit/Debit Cards” in /homepages/32/d4297039798/htdocs/wordpress/wp-content/plugins/woo-stripe-payment/includes/wc-stripe-functions.php on line 663
The payment worked but I would like to fix this issue before a real client uses the service.
Do you know what causes it ?
Thank you for your help,
Lilian
-
Hello @liliancha,
Warning: Undefined array key “Payment – Credit/Debit Cards” in /homepages/32/d4297039798/htdocs/wordpress/wp-content/plugins/woo-stripe-payment/includes/wc-stripe-functions.php on line 663
The name of the plugin directory doesn’t seem like ours. Are you sure you’re using the WooCommerce Stripe plugin?
Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
Look forward to hearing back from you.Thanks for your answer. Here is the status :
WordPress Environment WordPress address (URL): https://thecustomcrew.fr Site address (URL): https://thecustomcrew.fr WC Version: 7.4.1 REST API Version: ✔</img> 7.4.1 WC Blocks Version: ✔</img> 9.4.4 Action Scheduler Version: ✔</img> 3.5.4 Log Directory Writable: ✔</img> WP Version: 6.1.1 WP Multisite: – WP Memory Limit: ❌</img> 40 Mo - Nous recommandons l’augmentation de la mémoire à 64Mo minimum. Voir : Augmenter la mémoire allouée à PHP WP Debug Mode: – WP Cron: – Language: fr_FR External object cache: – Server Environment Server Info: Apache PHP Version: 8.0.28 PHP Post Max Size: 64 Mo PHP Time Limit: 50000 PHP Max Input Vars: 5000 cURL Version: 7.64.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 10.6.10-MariaDB-1:10.6.10+maria~deb11-log Max Upload Size: 64 Mo Default Timezone is UTC: ✔</img> fsockopen/cURL: ✔</img> SoapClient: ✔</img> DOMDocument: ✔</img> GZip: ✔</img> Multibyte String: ✔</img> Remote Post: ✔</img> Remote Get: ✔</img> Database WC Database Version: 7.4.1 WC Database Prefix: lhso_ Taille totale de la base de données: 35.33MB Taille de la base de données: 30.32MB Taille de l’index: 5.01MB lhso_woocommerce_sessions: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_woocommerce_api_keys: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_woocommerce_attribute_taxonomies: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_woocommerce_downloadable_product_permissions: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB lhso_woocommerce_order_items: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_woocommerce_order_itemmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_woocommerce_tax_rates: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB lhso_woocommerce_tax_rate_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_woocommerce_shipping_zones: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB lhso_woocommerce_shipping_zone_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_woocommerce_shipping_zone_methods: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB lhso_woocommerce_payment_tokens: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_woocommerce_payment_tokenmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_woocommerce_log: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_actionscheduler_actions: Données : 0.34MB + Index : 0.41MB + Moteur InnoDB lhso_actionscheduler_claims: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_actionscheduler_groups: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_actionscheduler_logs: Données : 0.22MB + Index : 0.17MB + Moteur InnoDB lhso_aws_cache: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB lhso_aws_index: Données : 0.16MB + Index : 0.11MB + Moteur InnoDB lhso_cartflows_ca_cart_abandonment: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_cartflows_ca_email_history: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_cartflows_ca_email_templates: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB lhso_cartflows_ca_email_templates_meta: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_commentmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_comments: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB lhso_e_events: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_e_submissions: Données : 0.02MB + Index : 0.27MB + Moteur InnoDB lhso_e_submissions_actions_log: Données : 0.02MB + Index : 0.11MB + Moteur InnoDB lhso_e_submissions_values: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_links: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_options: Données : 12.36MB + Index : 0.17MB + Moteur InnoDB lhso_postmeta: Données : 3.41MB + Index : 0.80MB + Moteur InnoDB lhso_posts: Données : 12.36MB + Index : 0.30MB + Moteur InnoDB lhso_snippets: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_termmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_terms: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_term_relationships: Données : 0.05MB + Index : 0.02MB + Moteur InnoDB lhso_term_taxonomy: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_um_metadata: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB lhso_usermeta: Données : 0.06MB + Index : 0.03MB + Moteur InnoDB lhso_users: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB lhso_wc_admin_notes: Données : 0.05MB + Index : 0.00MB + Moteur InnoDB lhso_wc_admin_note_actions: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_wc_category_lookup: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB lhso_wc_customer_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_wc_download_log: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_wc_order_coupon_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_wc_order_product_lookup: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB lhso_wc_order_stats: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB lhso_wc_order_tax_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB lhso_wc_product_attributes_lookup: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_wc_product_download_directories: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_wc_product_meta_lookup: Données : 0.06MB + Index : 0.09MB + Moteur InnoDB lhso_wc_rate_limits: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_wc_reserved_stock: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB lhso_wc_tax_rate_classes: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_wc_webhooks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_wpforms_tasks_meta: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB lhso_wpf_filters: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB lhso_wpf_meta_data: Données : 0.13MB + Index : 0.27MB + Moteur InnoDB lhso_wpf_meta_keys: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_wpf_meta_values: Données : 0.02MB + Index : 0.94MB + Moteur InnoDB lhso_wpf_meta_values_bk: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_wpf_modules: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB lhso_wpf_modules_type: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB lhso_wpf_usage_stat: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB Post Type Counts attachment: 193 custom_css: 1 customize_changeset: 6 elementor_library: 18 et_body_layout: 16 et_footer_layout: 18 et_header_layout: 12 et_pb_layout: 3 et_tb_item: 19 et_template: 18 et_theme_builder: 8 filter-set: 1 marketking_docs: 4 marketking_earning: 6 marketking_field: 6 marketking_group: 1 marketking_message: 2 marketking_mpack: 3 marketking_option: 2 marketking_rule: 4 marketking_vitem: 2 nav_menu_item: 9 page: 30 post: 5 product: 38 product_variation: 253 revision: 731 shop_order: 7 um_directory: 1 um_form: 3 wp_global_styles: 1 Security Secure connection (HTTPS): ✔</img> Hide errors from visitors: ✔</img> Active Plugins (19) Advanced Woo Search: par ILLID – 2.73 Starter Templates: par Brainstorm Force – 3.1.27 Automatic Translate Addon For Loco Translate: par Cool Plugins – 2.3.2 Code Snippets: par Code Snippets Pro – 3.2.2 Elementor Pro: par Elementor.com – 3.11.3 Elementor: par Elementor.com – 3.11.2 IONOS Navigation: par IONOS – 1.0.7 IONOS Performance: par IONOS – 2.0.3 IONOS Login: par IONOS – 2.2.1 Loco Translate: par Tim Whitlock – 2.6.3 MarketKing Core: par WebWizards – 1.5.30 MarketKing Pro: par WebWizards – 1.5.30 Payment Plugins for PayPal WooCommerce: par Payment Plugins support@paymentplugins.com – 1.0.23 UpdraftPlus - Sauvegarde/Restauration: par UpdraftPlus.Com DavidAnderson – 1.22.24 Checkout Field Editor for WooCommerce: par ThemeHigh – 1.8.1 Product Filter by WooBeWoo: par WooBeWoo – 2.3.0 Payment Plugins for Stripe WooCommerce: par Payment Plugins support@paymentplugins.com – 3.3.38 WooCommerce: par Automattic – 7.4.1 WPForms Lite: par WPForms – 1.8.0.2 Inactive Plugins (2) Divi Content Restrictor: par WP Tools – 1.4.1 Ultimate Member: par Ultimate Member – 2.5.4 Must Use Plugins (2) IONOS Marketplace: par IONOS – 1.1.5 WordPress automation by Installatron: par – Settings API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) 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: ✔</img> Order datastore: WC_Order_Data_Store_CPT WC Pages Base de la boutique: #6 - /shop/ Panier: #7 - /panier/ Commander: #8 - /checkout/ Mon compte: #9 - /mon-compte/ Conditions générales de vente et d’utilisation: #94 - /conditionsdutilisation/ Theme Name: Divi Version: 4.20.0 Author URL: http://www.elegantthemes.com Child Theme: ❌</img> – Si vous modifiez WooCommerce sur un thème parent que vous n’avez pas construit personnellement nous vous recommandons d’utiliser un thème enfant. Voir : Comment créer un thème enfant WooCommerce Support: ✔</img> 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 new-product-management-experience 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: minified-js product-variation-management settings Daily Cron: ✔</img> Next scheduled: 2023-03-03 14:15:18 +00:00 Options: ✔</img> Notes: 46 Onboarding: skipped Action Scheduler Annulé: 2 Oldest: 2023-02-18 14:25:27 +0000 Newest: 2023-02-18 18:34:44 +0000 Terminé: 1 007 Oldest: 2023-01-31 15:10:35 +0000 Newest: 2023-03-03 10:46:18 +0000 Échoué: 6 Oldest: 2023-02-15 10:55:35 +0000 Newest: 2023-03-02 07:38:42 +0000 En attente: 6 Oldest: 2023-03-03 17:10:36 +0000 Newest: 2023-03-06 14:00:09 +0000 Status report information Generated at: 2023-03-03 14:12:28 +00:00 `Hello,
Thank you for sending the system report.
The warning could be disabled, here there is an article that explains more about that: Why and When You Should Turn Off PHP Errors in WordPress?.
Upon checking, I can confirm the plugin used on your site is
Payment Plugins for Stripe WooCommerce, for better assistance, please reach out to their dedicated support forum, link is here.They will be able to provide you with more information.
Best.
The topic ‘Error when Checkout’ is closed to new replies.