• Resolved maxelio42

    (@maxelio42)


    Hi,
    Our site is using Stripe extension since 4 months, without any problem, … until yesterday.

    When I try to buy a product and pay with a bank card, this error occurs :
    “No such customer: cus_FKJbVq5r5YT0qf; a similar object exists in test mode, but a live mode key was used to make this request.”

    Some precisions :

    – I am the site admin.
    – Woo commerce is v. 3.9.2
    – Stripe extension is v. 4.3.2
    – I used the test mode before opening the site, and I had a client account in test mode. I suppressed every client in test mode in Stripe dashboard, and the issue is still here.
    – I have NO client account in live mode. When I search for my name, the only things I find are several “Card” entries, one for each of my attempts to buy the product!

    You will find below the Woocommerce log.

    Thanks for your help !

    ——————–WOO COMMERCE LOG —————————-

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://les-castors.fr
    Site address (URL): https://les-castors.fr
    WC Version: 3.9.2
    REST API Version: ? 1.0.7
    Log Directory Writable: ?
    WP Version: 5.3.2
    WP Multisite: –
    WP Memory Limit: 800 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: fr_FR
    External object cache: ?
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.3.15
    PHP Post Max Size: 300 MB
    PHP Time Limit: 90
    PHP Max Input Vars: 3000
    cURL Version: 7.52.1
    OpenSSL/1.0.2l
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.26-log
    Max Upload Size: 300 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.9.2
    WC Database Prefix: wp_
    Taille totale de la base de données: 509.31MB
    Taille de la base de données: 434.51MB
    Taille de l’index: 74.80MB
    wp_woocommerce_sessions: Données : 1.02MB + Index : 0.02MB + Moteur InnoDB
    wp_woocommerce_api_keys: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_woocommerce_attribute_taxonomies: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_woocommerce_downloadable_product_permissions: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    wp_woocommerce_order_items: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_woocommerce_order_itemmeta: Données : 0.11MB + Index : 0.11MB + Moteur InnoDB
    wp_woocommerce_tax_rates: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    wp_woocommerce_tax_rate_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_woocommerce_shipping_zones: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_woocommerce_shipping_zone_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_woocommerce_shipping_zone_methods: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_woocommerce_payment_tokens: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_woocommerce_payment_tokenmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_woocommerce_log: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_acym_action: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_acym_automation: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_acym_campaign: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_acym_condition: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_acym_configuration: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_acym_field: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_acym_history: Données : 1.52MB + Index : 0.00MB + Moteur InnoDB
    wp_acym_list: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_acym_mail: Données : 1.34MB + Index : 0.00MB + Moteur InnoDB
    wp_acym_mail_has_list: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_acym_mail_stat: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_acym_plugin: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_acym_queue: Données : 0.11MB + Index : 0.13MB + Moteur InnoDB
    wp_acym_rule: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_acym_step: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_acym_tag: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_acym_url: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_acym_url_click: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_acym_user: Données : 0.36MB + Index : 0.13MB + Moteur InnoDB
    wp_acym_user_backup: Données : 0.30MB + Index : 0.09MB + Moteur InnoDB
    wp_acym_user_has_field: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_acym_user_has_list: Données : 0.17MB + Index : 0.16MB + Moteur InnoDB
    wp_acym_user_stat: Données : 1.52MB + Index : 0.27MB + Moteur InnoDB
    wp_amr_reportcache: Données : 1.30MB + Index : 0.13MB + Moteur InnoDB
    wp_amr_reportcachelogging: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_aryo_activity_log: Données : 6.02MB + Index : 0.00MB + Moteur InnoDB
    wp_commentmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_comments: Données : 0.50MB + Index : 0.64MB + Moteur InnoDB
    wp_email_template: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_em_bookings: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    wp_em_events: Données : 0.14MB + Index : 0.14MB + Moteur InnoDB
    wp_em_locations: Données : 0.02MB + Index : 0.23MB + Moteur InnoDB
    wp_em_meta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_em_tickets: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_em_tickets_bookings: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_fluentform_entry_details: Données : 0.19MB + Index : 0.00MB + Moteur InnoDB
    wp_fluentform_forms: Données : 0.08MB + Index : 0.00MB + Moteur InnoDB
    wp_fluentform_form_analytics: Données : 0.11MB + Index : 0.00MB + Moteur InnoDB
    wp_fluentform_form_meta: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_fluentform_logs: Données : 0.05MB + Index : 0.00MB + Moteur InnoDB
    wp_fluentform_submissions: Données : 0.20MB + Index : 0.00MB + Moteur InnoDB
    wp_fluentform_submission_meta: Données : 0.05MB + Index : 0.00MB + Moteur InnoDB
    wp_fluentform_transactions: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_gdmaq_emails: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_gdmaq_log: Données : 249.27MB + Index : 5.36MB + Moteur InnoDB
    wp_gdmaq_log_email: Données : 3.02MB + Index : 7.05MB + Moteur InnoDB
    wp_gdmaq_queue: Données : 29.33MB + Index : 0.42MB + Moteur InnoDB
    wp_gmw_forms: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_gmw_locationmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_gmw_locations: Données : 0.16MB + Index : 0.19MB + Moteur InnoDB
    wp_links: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_mapsvg_regions_4710: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM
    wp_maxbuttonsv3: Données : 0.09MB + Index : 0.00MB + Moteur InnoDB
    wp_maxbuttons_collections: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_maxbuttons_collections_trans: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_mg2wpforo: Données : 0.01MB + Index : 0.02MB + Moteur MyISAM
    wp_ms_snippets: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_ninja_table_items: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_options: Données : 37.31MB + Index : 1.23MB + Moteur InnoDB
    wp_postmeta: Données : 25.47MB + Index : 3.88MB + Moteur InnoDB
    wp_posts: Données : 14.48MB + Index : 1.09MB + Moteur InnoDB
    wp_sdm_downloads: Données : 0.09MB + Index : 0.00MB + Moteur InnoDB
    wp_simpledocumentation: Données : 0.05MB + Index : 0.00MB + Moteur InnoDB
    wp_snippets: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_termmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_terms: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_term_relationships: Données : 0.19MB + Index : 0.08MB + Moteur InnoDB
    wp_term_taxonomy: Données : 0.05MB + Index : 0.03MB + Moteur InnoDB
    wp_tm_taskmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_tm_tasks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_um_metadata: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    wp_um_switcher: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_um_switcher_history: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_um_switcher_settings: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_usermeta: Données : 26.55MB + Index : 11.03MB + Moteur InnoDB
    wp_usermeta_backup: Données : 17.55MB + Index : 10.03MB + Moteur InnoDB
    wp_users: Données : 0.44MB + Index : 0.36MB + Moteur InnoDB
    wp_wc_admin_notes: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_wc_admin_note_actions: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_wc_category_lookup: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_wc_customer_lookup: Données : 0.05MB + Index : 0.03MB + Moteur InnoDB
    wp_wc_download_log: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_wc_order_coupon_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_wc_order_product_lookup: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    wp_wc_order_stats: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    wp_wc_order_tax_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_wc_product_meta_lookup: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB
    wp_wc_tax_rate_classes: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_wc_webhooks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_wfu_dbxqueue: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_wfu_log: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_wfu_userdata: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_wpforo_accesses: Données : 0.00MB + Index : 0.01MB + Moteur MyISAM
    wp_wpforo_activity: Données : 0.50MB + Index : 0.48MB + Moteur InnoDB
    wp_wpforo_attachments: Données : 0.09MB + Index : 0.02MB + Moteur InnoDB
    wp_wpforo_forums: Données : 0.03MB + Index : 0.01MB + Moteur MyISAM
    wp_wpforo_forums_backup: Données : 0.02MB + Index : 0.01MB + Moteur MyISAM
    wp_wpforo_languages: Données : 0.00MB + Index : 0.01MB + Moteur MyISAM
    wp_wpforo_likes: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_wpforo_phrases: Données : 0.06MB + Index : 0.09MB + Moteur MyISAM
    wp_wpforo_pmfolders: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_wpforo_pms: Données : 0.06MB + Index : 0.00MB + Moteur InnoDB
    wp_wpforo_polls: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    wp_wpforo_posts: Données : 9.73MB + Index : 27.16MB + Moteur MyISAM
    wp_wpforo_posts_backup: Données : 0.49MB + Index : 1.18MB + Moteur MyISAM
    wp_wpforo_post_revisions: Données : 0.20MB + Index : 0.05MB + Moteur InnoDB
    wp_wpforo_profiles: Données : 0.15MB + Index : 0.13MB + Moteur MyISAM
    wp_wpforo_profiles_backup: Données : 0.15MB + Index : 0.13MB + Moteur MyISAM
    wp_wpforo_subscribes: Données : 0.09MB + Index : 0.13MB + Moteur InnoDB
    wp_wpforo_tags: Données : 0.06MB + Index : 0.06MB + Moteur InnoDB
    wp_wpforo_tags_backup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_wpforo_topics: Données : 0.36MB + Index : 0.66MB + Moteur MyISAM
    wp_wpforo_topics_backup: Données : 0.02MB + Index : 0.06MB + Moteur MyISAM
    wp_wpforo_usergroups: Données : 0.01MB + Index : 0.01MB + Moteur MyISAM
    wp_wpforo_views: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    wp_wpforo_visits: Données : 0.02MB + Index : 0.13MB + Moteur InnoDB
    wp_wpforo_votes: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wp_wpsbc_calendars: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_wpsbc_calendar_meta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_wpsbc_events: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_wpsbc_event_meta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_wpsbc_legend_items: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wp_wpsbc_legend_item_meta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wp_yoast_seo_links: Données : 0.13MB + Index : 0.08MB + Moteur InnoDB
    wp_yoast_seo_meta: Données : 1.52MB + Index : 0.00MB + Moteur InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 55
    acf-field-group: 3
    advanced_ads: 12
    attachment: 428
    bnfw_notification: 1
    bp-email: 15
    br_minmax_limitation: 1
    custom_css: 2
    custom-css-js: 4
    dlm_download_version: 2
    docs: 3
    elementor_library: 2
    elementor-hf: 1
    es_template: 4
    event: 64
    everest_form: 1
    forum: 5
    frm_form_actions: 1
    frm_styles: 1
    guide: 1
    jetpack_migration: 2
    jp_img_sitemap: 4
    jp_sitemap: 4
    jp_sitemap_master: 4
    jp_vid_sitemap: 4
    local-pickup-pro: 2
    location: 43
    mailpoet_page: 1
    mapsvg: 1
    mgmlp_media_folder: 28
    ml-slide: 45
    ml-slider: 6
    ms_communication: 8
    ms_membership: 2
    nav_menu_item: 105
    ninja-table: 1
    note: 1
    oembed_cache: 6
    page: 125
    post: 29
    postman_sent_mail: 1001
    product: 21
    product_variation: 115
    revision: 233
    scheduled-action: 978
    sdm_downloads: 64
    shop_order: 209
    shop_order_refund: 1
    um_directory: 1
    um_form: 8
    um_notice: 1
    vg_gateway_condition: 2
    vtmam-rule: 1
    wcs_ruleset: 4
    wll_records: 1683
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (77) ###
    
    ACF: Better Search: par Mateusz Gbiorczyk – 3.4.3
    ACF Content Analysis for Yoast SEO: par Thomas Kr?ftner
    ViktorFroberg
    marol87
    pekz0r
    angrycreative
    équipe Yoast – 2.3.0
    
    AcyMailing: par Acyba – 6.7.5
    Admin Menu Editor: par Janis Elsts – 1.9.3
    Advanced Ads – Slider: par Thomas Maier – 1.4.4
    Advanced Ads: par Thomas Maier
    Advanced Ads GmbH – 1.17.3
    
    Advanced Custom Fields: par Elliot Condon – 5.8.8
    Akismet Anti-Spam: par Automattic – 4.1.3
    amr users plus: par anmari – 3.9
    amr users: par anmari – 4.33
    Activity Log: par L’équipe d’Activity Log – 2.5.2
    Atomic Blocks - Collection de blocs Gutenberg: par atomicblocks – 2.6.0
    Autoptimize: par Frank Goossens (futtta) – 2.6.2
    EditorsKit: par Jeffrey Carandang – 1.26
    Breadcrumb NavXT: par John Havlik – 6.4.0
    Brozzme add plugins thumbnails: par Benoti – 1.4.5
    Simple Documentation: par Mathieu Hays – 1.2.8
    CMP - Coming Soon & Maintenance Plugin: par NiteoThemes – 3.6.15
    Extraits de code: par Code Snippets Pro – 2.14.0
    Conditional Shipping for WooCommerce: par Lauri Karisola / WooElements.com – 2.0.2 – Non testé avec la version active de WooCommerce
    Simple Custom CSS and JS: par SilkyPress.com – 3.29
    Duplicate Post: par Enrico Battocchi – 3.2.4
    Elementor: par Elementor.com – 2.9.3
    Email Address Encoder: par Till Krüss – 1.0.19
    Modèles d’e-mail: par Damian Logghe – 1.3.1.2
    Enable Media Replace: par ShortPixel – 3.3.10
    Events Manager: par Marcus Sykes – 5.9.7.3
    Fluent Forms - Best Form Plugin for WordPress: par WP Fluent Forms – 3.2.4
    GD Mail Queue: par Milan Petrovic – 3.4.1
    GEO my WP: par Eyal Fitoussi – 3.4
    GMW Add-on - WordPress Users Locator: par Eyal Fitoussi – 1.4.4
    Hide Title: par Dojo Digital – 1.0.8
    Import and export users and customers: par codection – 1.15.4.3
    Jetpack par WordPress.com: par Automattic – 8.3
    Loco Translate: par Tim Whitlock – 2.3.1
    Manage Notification E-mails: par Virgial Berveling – 1.5.0
    MaxButtons: par Max Foundry – 7.13.4
    MetaSlider: par L’équipe Updraft – 3.15.3
    Product Visibility by User Role for WooCommerce: par WP Wham – 1.5.2 – Non testé avec la version active de WooCommerce
    Really Simple SSL: par Rogier Lankhorst
    Mark Wolters – 3.2.9
    
    Regenerate Thumbnails: par Alex Mills (Viper007Bond) – 3.1.3
    Search & Replace: par Inpsyde GmbH – 3.2.1
    WooCommerce Cart: par XootiX – 2.0 – Non testé avec la version active de WooCommerce
    Simple Download Monitor: par Tips and Tricks HQ
    Ruhul Amin
    Josh Lobe – 3.8.3
    
    Events Manager – OpenStreetMaps: par Stonehenge Creations – 4.0.5
    Events Manager - Events / Locations Slider: par Stonehenge Creations – 1.6.2
    Super Emoji Plus+: par Eric Andrew Lewis – 0.1.5
    Ultimate Addons for Gutenberg: par Brainstorm Force – 1.14.7
    Ultimate Member: par Ultimate Member – 2.1.4
    Ultimate Member - Notices: par Ultimate Member – 2.0.6
    Ultimate Member - Online: par Ultimate Member – 2.1.2
    Ultimate Member - Profile Completeness: par Ultimate Member – 2.1.4
    UpdraftPlus - Sauvegarde/Restauration: par UpdraftPlus.Com
    DavidAnderson – 1.16.22
    
    User Role Editor: par Vladimir Garagulya – 4.53
    User Switching: par John Blackbourn & les contributeurs – 1.5.4
    W3 Total Cache: par BoldGrid – 0.13.1
    WC Restrict Payment Methods: par Codeincept – 1.0.1
    Woo Invoice: par WebAppick – 1.3.7 – Non testé avec la version active de WooCommerce
    Dernière connexion: par Yoohoo Plugins – 1.2
    Widget Shortcode: par Hassan Derakhshandeh – 0.3.4
    WooCommerce Advanced Quantity: par Morning Train Technologies ApS – 2.4.5 – Non testé avec la version active de WooCommerce
    WooCommerce Blocks: par Automattic – 2.5.13 – Non testé avec la version active de WooCommerce
    Advanced Order Export For WooCommerce: par AlgolPlus – 3.1.1 – Non testé avec la version active de WooCommerce
    WooCommerce Admin: par WooCommerce – 0.26.1 – Non testé avec la version active de WooCommerce
    WooCommerce Stripe Gateway: par WooCommerce – 4.3.2 – Non testé avec la version active de WooCommerce
    WooCommerce Services: par Automattic – 1.22.4 – Non testé avec la version active de WooCommerce
    WooCommerce: par Automattic – 3.9.2
    Yoast SEO: par L’équipe Yoast – 13.2
    WordPress File Upload: par Nickolas Bossinas – 4.12.2
    Media Library Categories: par Jeffrey-WP – 1.9.7
    WP-Optimize - Clean, Compress, Cache: par David Anderson
    Ruhani Rabin
    équipe Updraft – 3.0.16
    
    WP Simple Booking Calendar: par Veribo
    Mihai Iova
    Roland Murg – 8.3.1
    
    wpForo Advanced Attachments: par gVectors Team (A. Chakhoyan and R. Hovhannisyan) – 2.0.1
    wpForo Embeds: par gVectors Team (A. Chakhoyan and R. Hovhannisyan) – 2.0.2
    wpForo Polls: par gVectors Team (A. Chakhoyan and R. Hovhannisyan) – 1.0.4
    wpForo Private Messages: par gVectors Team (A. Chakhoyan and R. Hovhannisyan) – 1.2.4
    wpForo: par équipe gVectors (A. Chakhoyan
    R. Hovhannisyan) – 1.7.0
    
    ### Inactive Plugins (3) ###
    
    Conditional WooCommerce Checkout Field: par Scott DeLuzio – 1.1.0 – Non testé avec la version active de WooCommerce
    Mailjet for WordPress: par Mailjet SAS – 5.2.1
    Query Monitor: par John Blackbourn – 3.5.2
    
    ### Dropin Plugins (3) ###
    
    advanced-cache.php: advanced-cache.php
    db.php: db.php
    object-cache.php: object-cache.php
    
    ### 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)
    um_switcher (um_switcher)
    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: ?
    
    ### WC Pages ###
    
    Base de la boutique: ? Page non définie
    Panier: #217 - /panier/
    Validation de la commande: #218 - /commande/
    Mon compte: #219 - /mes-achats/
    Conditions générales de vente et d’utilisation: #13827 - /conditions-generales-de-vente-en-ligne-a-des-consommateurs-particuliers/
    
    ### Theme ###
    
    Name: Accelerate Pro Child Theme
    Version: 1.0
    Author URL: https://themegrill.com
    Child Theme: ?
    Parent Theme Name: Accelerate Pro
    Parent Theme Version: 2.2.6
    Parent Theme Author URL: https://themegrill.com/wordpress-themes/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: accelerate-pro-child/woocommerce/emails/customer-completed-order.php
    
    ### Action Scheduler ###
    
    Terminer: 975
    Oldest: 2020-02-02 10:19:34 +0100
    Newest: 2020-03-04 10:04:15 +0100
    
    En attente: 3
    Oldest: 2020-03-04 11:01:07 +0100
    Newest: 2020-03-05 09:48:37 +0100
    
    Annulé: 0
    Oldest: –
    Newest: –
    
    En cours: 0
    Oldest: –
    Newest: –
    
    échoué: 0
    Oldest: –
    Newest: –
    
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Praveen a11n

    (@spraveenitpro)

    Automattic Happiness Engineer

    Hi @maxelio42 ,

    This error is happening because the customer id is present on WooCommerce end but not on stripe. Stripe customer ID is saved as metadata in the database (wp_usermeta database table). It can be accessed using a plugin like phpMyAdmin:

    Editing database tables directly is usually not recommended since it is easy to break the whole site. If you decide to do that – I’d suggest double-checking your site backup system works and you have a backup of the database table you’re editing.

    If the Stripe customer ID is present in the database on WooCommerce side, but it is not present on Stripe side – this error will be thrown.

    This can happen for existing users if the site is switched from test to live mode, for example, or if the site is switched to a new Stripe account.

    In that case, the Stripe customer ID is present in your database but it is not present on Stripe side.

    Stripe customer ID is removed from the database if the user is completely deleted from wp-admin >> Users.

    In this case, you have three options:

    1. Delete the user on WooCommerce side and then re-create that user.
    Reach out to Stripe support team and ask them to copy users from one account to the other one.
    2. Remove the whole row with Stripe customer ID associated with this particular user from wp_usermeta database table.
    3. Copy the Stripe customer ID from your database, create a user in Stripe and add the Stripe customer ID.

    I hope this helps!

    This isn’t my topic, but today I ran into the same problem when switching between Stripe accounts. I just want to say thanks Praveen for a details explanation and description of possible solutions. In my case I was happy to delete the _stripe_customer_id rows from WP’s wp_usermeta table.

    I wonder though, if it might be possible for the plugin to fallback gracefully if a matching customer is not found in Stripe? Perhaps resubmit the order to Stripe without a customer ID, so that it is not rejected? It seems heavy handed for the order to fail.

    Also I notice that my stores old users/customers do not have a _stripe_customer_id field, and customers were not created for them in Stripe. I assume that creating Stripe customers for Woo orders is a new feature/requirement?

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there @jnicol,

    Regarding the “more graceful” handling of this situation/error, there is an open report in the plugin repository here:
    https://github.com/woocommerce/woocommerce-gateway-stripe/issues/1128#issuecomment-597820926

    Hopefully that will be added in a (near) future version of the plugin! : )

    As for your old customers who do not have a Stripe customer ID, it’s possible this was changed in a previous version of the plugin. I see the following mentioned in the changelog:

    
    = 2.2.8 - 2014-11-21 =
    * Save card/customer id for regular orders.
    

    It’s possible prior to that it only saved a customer ID for customers with subscriptions (and not regular orders). You can check other changes in the changelog here:
    https://github.com/woocommerce/woocommerce-gateway-stripe/blob/master/changelog.txt

    I hope that helps! Have a wonderful day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“No such customer” error in live mode’ is closed to new replies.