Payment problem on French site
-
We are encountering problems with payment on our French site. This was working properly until recently. Not sure if the problem coincided with an update but will try to check on that. Customer report problems with entering payment credentials. The log messages are odd. Here is an example:
2024-01-02T03:24:55+00:00 DEBUG ====Stripe Version: 7.8.1==== ====Start Log==== Could not find order via intent ID: pi_3OTyb0KUHEWTFdeQ0SNymfMT ====End Log==== 2024-01-02T03:24:55+00:00 DEBUG ====Stripe Version: 7.8.1==== ====Start Log==== Could not find order via charge ID: ch_3OTyb0KUHEWTFdeQ0HgxshZn ====End Log==== 2024-01-02T04:06:55+00:00 DEBUG ====Stripe Version: 7.8.1==== ====Start Log==== Could not find order via intent ID: pi_3OTzFeKUHEWTFdeQ1VjskYXG ====End Log==== 2024-01-02T04:06:55+00:00 DEBUG ====Stripe Version: 7.8.1==== ====Start Log==== Could not find order via charge ID: ch_3OTzFeKUHEWTFdeQ17wRbbMt ====End Log==== 2024-01-02T10:58:26+00:00 DEBUG ====Stripe Version: 7.8.1==== ====Start Log==== account ====End Log==== 2024-01-02T11:40:12+00:00 DEBUG ====Stripe Version: 7.8.1==== ====Start Log==== Could not find order via intent ID: pi_3OU6KJKUHEWTFdeQ1CzyLOwN ====End Log==== 2024-01-02T11:40:12+00:00 DEBUG ====Stripe Version: 7.8.1==== ====Start Log==== Could not find order via charge ID: ch_3OU6KJKUHEWTFdeQ1LlTMy1x ====End Log====
Just to be on safe side, I re-entered the Stripe credentials but they looked to be right when I looked at them before updating them.
Please advise what steps I should take to debug further. Perhaps I should roll back to an earlier version of the plug-in as this is a new problem.
Thank you.
-
Hello @ahawtin,
Thank you for reaching out!
Just to clarify:- Are you able to replicate the issue when trying to place a test order?
- If yes, what do you see on the front-end of (the checkout page)?
Could you also attach a copy of your site’s System Status report? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support” (after you scroll down a bit)”. Once done, please paste it here in your reply or via a text-sharing service like https://gist.github.com/.
Look forward to hearing back from you.
Just talking to the Stripe folks. The errors seem to be isolated to the site as there are no errors on the Stripe side. Thought so but wanted to be sure. I think the problem may have manifested with the last update which I think was done about 5 days ago.
I will take the site offline and do a test order.
Here is the system status:
` WordPress Environment WordPress address (URL): https://francais.basicsbymail.com<br>Site address (URL): https://francais.basicsbymail.com<br>WC Version: 8.4.0<br>REST API Version: ? 8.4.0<br>WC Blocks Version: ? 11.6.2<br>Action Scheduler Version: ? 3.7.0<br>Log Directory Writable: ?<br>WP Version: 6.4.2<br>WP Multisite: –<br>WP Memory Limit: 1 Go<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: fr_CA<br>External object cache: ? Server Environment Server Info: Apache/2<br>PHP Version: 8.2.11<br>PHP Post Max Size: 32 Mo<br>PHP Time Limit: 900<br>PHP Max Input Vars: 1000<br>cURL Version: 7.29.0<br>NSS/3.90 SUHOSIN Installed: –<br>MySQL Version: 10.4.32-MariaDB<br>Max Upload Size: 8 Mo<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database WC Database Version: 8.4.0<br>WC Database Prefix: wp_<br>Taille totale de la base de données: 120.64MB<br>Taille de la base de données: 73.27MB<br>Taille des index de la base de données: 47.37MB<br>wp_woocommerce_sessions: Données : 0.20MB + Index : 0.01MB + Moteur MyISAM<br>wp_woocommerce_api_keys: Données : 0.00MB + Index : 0.01MB + Moteur MyISAM<br>wp_woocommerce_attribute_taxonomies: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_woocommerce_downloadable_product_permissions: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_woocommerce_order_items: Données : 1.26MB + Index : 0.50MB + Moteur MyISAM<br>wp_woocommerce_order_itemmeta: Données : 6.98MB + Index : 5.25MB + Moteur MyISAM<br>wp_woocommerce_tax_rates: Données : 0.00MB + Index : 0.01MB + Moteur MyISAM<br>wp_woocommerce_tax_rate_locations: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_woocommerce_shipping_zones: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_woocommerce_shipping_zone_locations: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_woocommerce_shipping_zone_methods: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_woocommerce_payment_tokens: Données : 0.01MB + Index : 0.01MB + Moteur MyISAM<br>wp_woocommerce_payment_tokenmeta: Données : 0.01MB + Index : 0.01MB + Moteur MyISAM<br>wp_woocommerce_log: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>sale_process: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_actionscheduler_actions: Données : 3.59MB + Index : 1.43MB + Moteur MyISAM<br>wp_actionscheduler_claims: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_actionscheduler_groups: Données : 0.00MB + Index : 0.01MB + Moteur MyISAM<br>wp_actionscheduler_logs: Données : 4.41MB + Index : 2.41MB + Moteur MyISAM<br>wp_aws_cache: Données : 1.65MB + Index : 0.00MB + Moteur MyISAM<br>wp_aws_index: Données : 2.42MB + Index : 1.23MB + Moteur MyISAM<br>wp_canadelle_target: Données : 0.03MB + Index : 0.01MB + Moteur MyISAM<br>wp_commentmeta: Données : 0.00MB + Index : 0.01MB + Moteur MyISAM<br>wp_comments: Données : 3.40MB + Index : 1.26MB + Moteur MyISAM<br>wp_cr_local_forms: Données : 0.05MB + Index : 0.02MB + Moteur InnoDB<br>wp_db7_forms: Données : 0.13MB + Index : 0.01MB + Moteur MyISAM<br>wp_elita_target: Données : 0.02MB + Index : 0.01MB + Moteur MyISAM<br>wp_jetpack_sync_queue: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB<br>wp_lecm_rewrite: Données : 0.03MB + Index : 0.01MB + Moteur MyISAM<br>wp_links: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_mailchimp_carts: Données : 0.19MB + Index : 0.01MB + Moteur MyISAM<br>wp_mailchimp_jobs: Données : 1.34MB + Index : 0.06MB + Moteur MyISAM<br>wp_on_ebay: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_options: Données : 1.44MB + Index : 0.12MB + Moteur MyISAM<br>wp_postmeta: Données : 24.60MB + Index : 12.12MB + Moteur MyISAM<br>wp_posts: Données : 3.14MB + Index : 1.08MB + Moteur MyISAM<br>wp_shadowline_target: Données : 0.01MB + Index : 0.01MB + Moteur MyISAM<br>wp_shipment_batch_process: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_stanfields_target: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_termmeta: Données : 0.03MB + Index : 0.03MB + Moteur MyISAM<br>wp_terms: Données : 0.02MB + Index : 0.05MB + Moteur MyISAM<br>wp_term_relationships: Données : 0.34MB + Index : 0.69MB + Moteur MyISAM<br>wp_term_taxonomy: Données : 0.03MB + Index : 0.03MB + Moteur MyISAM<br>wp_testimonials: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_tm_taskmeta: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_tm_tasks: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_usermeta: Données : 2.29MB + Index : 1.49MB + Moteur MyISAM<br>wp_users: Données : 0.18MB + Index : 0.16MB + Moteur MyISAM<br>wp_watchlist: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>wp_wcpdf_invoice_number: Données : 0.06MB + Index : 0.03MB + Moteur MyISAM<br>wp_wcpdf_packing_slip_number: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>wp_wc_admin_notes: Données : 0.01MB + Index : 0.00MB + Moteur MyISAM<br>wp_wc_admin_note_actions: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_wc_category_lookup: Données : 0.00MB + Index : 0.01MB + Moteur MyISAM<br>wp_wc_customer_lookup: Données : 0.20MB + Index : 0.16MB + Moteur MyISAM<br>wp_wc_download_log: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_wc_orders: Données : 1.52MB + Index : 0.89MB + Moteur InnoDB<br>wp_wc_orders_meta: Données : 8.52MB + Index : 14.13MB + Moteur InnoDB<br>wp_wc_order_addresses: Données : 1.52MB + Index : 0.78MB + Moteur InnoDB<br>wp_wc_order_coupon_lookup: Données : 0.00MB + Index : 0.01MB + Moteur MyISAM<br>wp_wc_order_operational_data: Données : 0.48MB + Index : 0.23MB + Moteur InnoDB<br>wp_wc_order_product_lookup: Données : 0.53MB + Index : 0.46MB + Moteur MyISAM<br>wp_wc_order_stats: Données : 0.25MB + Index : 0.15MB + Moteur MyISAM<br>wp_wc_order_tax_lookup: Données : 0.12MB + Index : 0.14MB + Moteur MyISAM<br>wp_wc_product_attributes_lookup: Données : 1.39MB + Index : 1.25MB + Moteur InnoDB<br>wp_wc_product_download_directories: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>wp_wc_product_meta_lookup: Données : 0.53MB + Index : 0.93MB + Moteur MyISAM<br>wp_wc_rate_limits: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>wp_wc_reserved_stock: Données : 0.02MB + Index : 0.00MB + Moteur MyISAM<br>wp_wc_tax_rate_classes: Données : 0.00MB + Index : 0.01MB + Moteur MyISAM<br>wp_wc_webhooks: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_woocommerce_stock_action: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_woocommerce_stock_action_en: Données : 0.02MB + Index : 0.00MB + Moteur MyISAM<br>wp_woo_shippment_provider: Données : 0.09MB + Index : 0.01MB + Moteur MyISAM<br>wp_wss_log: Données : 0.01MB + Index : 0.00MB + Moteur MyISAM<br>wp_wt_iew_action_history: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>wp_wt_iew_cron: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>wp_wt_iew_ftp: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>wp_wt_iew_mapping_template: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB<br>wp_wt_sc_coupon_lookup: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB<br>wp_yoast_seo_links: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM<br>wp_yoast_seo_meta: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM Post Type Counts acf-field: 6<br>acf-field-group: 1<br>attachment: 1863<br>custom_css: 1<br>jb_store_css: 6<br>nav_menu_item: 23<br>page: 17<br>post: 1<br>product: 294<br>product_variation: 4008<br>productsliderwoo: 1<br>revision: 374<br>shop_coupon: 7<br>shop_order: 2482<br>shop_order_refund: 147<br>wp_global_styles: 1<br>wpcf7_contact_form: 2<br>wpcode: 4 Security Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (42) Build order: par Al Hawtin – 1.0<br>Add minutes: par ahawtin – 1.0<br>Add order stock: par Al Hawtin – 1.0<br>Advanced Custom Fields: par WP Engine – 6.2.4<br>Advanced Woo Search: par ILLID – 2.95<br>Build google feed: par Al Hawtin – 1.0.0<br>Canada Post Shipping For WooCommerce: par Small Fish Analytics Inc. – 2.9.13<br>Carousel update: par Al Hawtin – 1.0<br>Clearance update: par Al Hawtin – 1.0<br>Contact Form 7: par Takayuki Miyoshi – 5.8.5<br>Contact Form CFDB7: par Arshid – 1.2.6.7<br>Avis des clients pour WooCommerce: par CusRev – 5.38.8<br>Email download plugin: par Al Hawtin – 1.0.0<br>Payment Gateway Plugin for PayPal WooCommerce ( Free ): par WebToffee – 1.8.2<br>Google Analytics for WordPress by MonsterInsights: par MonsterInsights – 8.23.1<br>WPCode Lite: par WPCode – 2.1.7<br>Jetpack Boost: par Automattic - Jetpack Site Speed team – 2.2.1<br>Jetpack Protect: par Automattic - Jetpack Security team – 1.4.2<br>Loco Translate: par Tim Whitlock – 2.6.6<br>Mailchimp for WooCommerce: par Mailchimp – 3.5<br>Minimal Coming Soon & Maintenance Mode: par WebFactory Ltd – 2.37<br>Partner stock updates on basics to ebay and amazon: par Al Hawtin – 1.0.0<br>Order pick list plugin: par Al Hawtin – 1.0.0<br>Reset sale pricing: par ahawtin – 1.0<br>Show stock: par Al Hawtin – 1.0<br>Simple Banner: par Ryan Petersen – 2.17.0<br>Category Order and Taxonomy Terms Order: par Nsp-Code – 1.8<br>UpdraftPlus - Backup/Restore: par UpdraftPlus.Com<br>DavidAnderson – 1.23.16 Widget Options: par Widget Options Team – 3.9.6<br>WooCommerce Address Book: par CrossPeak – 3.0.2<br>Suivi avancé des envois pour WooCommerce: par zorem – 3.6.4<br>Variation Swatches for WooCommerce: par RadiusTheme – 2.3.12<br>WooCommerce Extended Coupon Features FREE: par Soft79 – 3.3.3<br>WooCommerce Stripe Gateway: par WooCommerce – 7.8.1<br>PDF Invoices & Packing Slips for WooCommerce: par WP Overnight – 3.7.5<br>WooCommerce: par Automattic – 8.4.0<br>WP Crontrol: par John Blackbourn & crontributors – 1.16.1<br>SEOPress: par The SEO Guys at SEOPress – 7.3.2<br>WP Super Cache: par Automattic – 1.11.0<br>WPB Product Slider for WooCommerce: par wpbean – 2.0.9.8<br>ReCaptcha v2 for Contact Form 7: par IQComputing – 1.4.4<br>Sequential Order Numbers for WooCommerce: par WebToffee – 1.5.8 Inactive Plugins (9) CPC details: par ahwtin – 1.0<br>Delete Expired Transients: par WebAware – 2.0.7<br>Jetpack: par Automattic – 12.9.3<br>List stock action table: par Al Hawtin – 1.0.0<br>Product Sales Report for WooCommerce: par WP Zone – 1.5.6<br>Sale price process: par Al Hawtin – 1.0.0<br>Smart Coupons For WooCommerce Coupons: par WebToffee – 1.5.2<br>Stocking order download plugin: par Al Hawtin – 1.0.0<br>Storefront Top Bar: par Wooassist – 1.1.1 Dropin Plugins (2) advanced-cache.php: advanced-cache.php<br>object-cache.php: Memcached Settings API Enabled: –<br>Force SSL: ?<br>Currency: CAD ($)<br>Currency Position: right<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5) Connected to Woo.com: ?<br>Enforce Approved Product Download Directories: –<br>HPOS feature screen enabled: ?<br>HPOS feature enabled: ?<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: ? WC Pages Base boutique: #6 - /boutique/<br>Panier: #7 - /panier/<br>Commande: #8 - /commande/<br>Mon compte: #9 - /mon-compte/<br>Conditions générales de vente et d’utilisation: ? Page non définie Theme Name: Storefront Child Theme<br>Version: 1.0.0<br>Author URL: https://stuartduff.com<br>Child Theme: ?<br>Parent Theme Name: Storefront<br>Parent Theme Version: 4.5.3<br>Parent Theme Author URL: https://woocommerce.com/<br>WooCommerce Support: ? Templates Overrides: storefront-child-theme-master/woocommerce/emails/email-order-details.php<br>storefront-child-theme-master/woocommerce/emails/email-order-items.php Admin Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-external-affiliate<br>settings<br>async-product-editor-category-field Daily Cron: ? Next scheduled: 2024-01-03 10:23:33 -05:00<br>Options: ?<br>Notes: 10<br>Onboarding: completed Action Scheduler Terminer: 5 378<br>Oldest: 2023-12-02 15:26:59 -0500<br>Newest: 2024-01-02 12:50:08 -0500 échoué: 129<br>Oldest: 2023-08-10 07:15:37 -0400<br>Newest: 2023-10-29 09:01:46 -0400 En attente: 1<br>Oldest: 2024-01-03 03:01:40 -0500<br>Newest: 2024-01-03 03:01:40 -0500 Status report information Generated at: 2024-01-02 13:50:51 -05:00<br>`
Went into maintenance mode and test mode on Stripe. Ran an order and it worked fine. Looks like this will be a bit difficult to track down. I think it wise to roll back the French site to 7.8.0. Where can I find earlier releases? Early tomorrow morning I will do some more test orders to see if I can generate the problem on a more repeatable basis.
Found the previous release on github. Tried to roll back but something went wrong so have now removed Stripe as a payment option on the French site for the time being. Will still do some more testing tomorrow morning to see if I can track down the issue. And hopefully I can successfully roll back to see if that solves the problem. Will let you know what I learn.
Where can I find earlier releases? Early tomorrow morning I will do some more test orders to see if I can generate the problem on a more repeatable basis.
Here’s a direct download link to version
7.8
, although I wouldn’t suggest downgrading as you could be introducing more already patched issues.Will still do some more testing tomorrow morning to see if I can track down the issue. And hopefully I can successfully roll back to see if that solves the problem. Will let you know what I learn.
Please keep us updated if you come across any new findings. I’m not able to replicate the issue on my test site as well. Make sure to perform the tests in a clean installation of WooCommerce without any third-party plugins whatsoever.
Let us know how it goes!
Early this morning I uninstalled Stripe payments, then reinstalled it along with re-entering the credentials. I then ran some test order and all went well. Later in the day, I found some more troubling log entries on the French site:
2024-01-03T15:07:19+00:00 DEBUG ====Stripe Version: 7.8.1==== ====Start Log==== Could not find order via intent ID: pi_3OUW2IKUHEWTFdeQ0zBWvboT ====End Log==== 2024-01-03T15:07:19+00:00 DEBUG ====Stripe Version: 7.8.1==== ====Start Log==== Could not find order via charge ID: ch_3OUW2IKUHEWTFdeQ0fUC2blZ ====End Log====
I then did a search on the English site and bingo – these belong to the English site. I went back and and checked the credentials for both sites and they line up perfectly. So I will now go back to Stripe and see if they can help me understand why these transactions are being sent to the French site. I don’t see any issues with payment completion on the English site so it may well be that some transactions are being sent to both sites. I will investigate further.
Hi @ahawtin
If the credentials for both sites are correctly set up, and payments are being processed successfully on the English site, it could be a case of misdirection of transaction logs.
It’s a good idea to reach out to Stripe support to understand why these transactions are showing up on the French site. They should be able to provide more insight into the transaction routing.
In the meantime, please ensure that the correct webhook URLs are set for both sites in your Stripe dashboard. Sometimes, these issues can occur if the webhook URLs are mixed up.
Please don’t hesitate to reach out if you need any further assistance. We’re always here to help.
Yes, there does seem to be an issue with Stripe. We checked both the webhook URL and secrets. They are correct on both sites. We just did a refund on the English site (successfully) and the transactions also appeared on the French site which were of course ignored as the transaction ID could not be found on the French site. So, we escalated the problem with Stripe. This should obviously be taken care of on their end. Thank you for your help.
Hi @ahawtin,
It’s good to know that you’ve already verified the webhook URL and secrets, and that you’ve successfully processed a refund on the English site.
Since you’ve escalated the issue with Stripe, I agree that the next steps should be handled by their team. They’re best equipped to troubleshoot and resolve any issues related to their platform.
Cheers!
- The topic ‘Payment problem on French site’ is closed to new replies.