Completed Order Emails Get Sent Twice
-
Hello,
Here is the description of the issue that we are experiencing:
We have a website that uses WooCommerce with Crowdfunding to handle donating to multiple campaigns, when making new donations, some of the donors get 2 emails (completed-order email). One of the emails shows the correct content with all the donation details and the tax receipt attached, but the other one is just a blank email with no subject or body.
* The ratio of donors who are getting those blank emails is around 50%
* Donation payments are being handled via:
1- Stripe: WooCommerce Stripe Gateway (version 6.5.1)
2- Paypal: WooCommerce PayPal Payments (version 1.9.3)* Email SMTP server used: Amazon SES
* WP Mail SMTP Pro (version 3.5.1) is used and all the email logs show properly, even those blank ones.
* WooCommerce version: 6.8.0
* WP Crowdfunding Pro version: 11.2.0
* WordPress version: 6.0.1
Could you help please figure out what is happening with me?
Thank you so much.
The page I need help with: [log in to see the link]
-
Hello @fadi22,
Could you please share a copy of your site’s System Status so we can get a better idea of what’s going on? 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.
Also, please check the fatal error logs (if any) from WooCommerce > Status > Logs and choose from the drop-down menu the
fatal-errors.log
.Look forward to hearing back from you.
Hello Saif H.,
Thank you so much for your response. And sorry for the late response.
Regarding the fatal-error logs, there are no errors logged.
Please find below a copy of the System Report, and let us know please if you need any more information:
### WordPress Environment ### WordPress address (URL): https://smallchangefund.ca Site address (URL): https://smallchangefund.ca WC Version: 6.8.0 REST API Version: ? 6.8.0 WC Blocks Version: ? 8.0.0 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: ? 6.0.1 - There is a newer version of WordPress available (6.1.1) WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.33 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.64.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.36-MariaDB-0+deb10u2 Max Upload Size: 2 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.8.0 WC Database Prefix: rVtNb_ Total Database Size: 195.01MB Database Data Size: 170.82MB Database Index Size: 24.19MB rVtNb_woocommerce_sessions: Data: 2.02MB + Index: 0.05MB + Engine InnoDB rVtNb_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB rVtNb_woocommerce_order_items: Data: 0.19MB + Index: 0.08MB + Engine InnoDB rVtNb_woocommerce_order_itemmeta: Data: 1.52MB + Index: 1.91MB + Engine InnoDB rVtNb_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB rVtNb_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_actionscheduler_actions: Data: 0.17MB + Index: 0.19MB + Engine InnoDB rVtNb_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_actionscheduler_logs: Data: 0.16MB + Index: 0.14MB + Engine InnoDB rVtNb_betterdocs_search_keyword: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_betterdocs_search_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_comments: Data: 1.52MB + Index: 0.80MB + Engine InnoDB rVtNb_ctf_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB rVtNb_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB rVtNb_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB rVtNb_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB rVtNb_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_frm_fields: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_frm_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_frm_items: Data: 0.14MB + Index: 0.08MB + Engine InnoDB rVtNb_frm_item_metas: Data: 0.06MB + Index: 0.03MB + Engine InnoDB rVtNb_give_campaigns: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_give_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_give_comments: Data: 0.17MB + Index: 0.00MB + Engine InnoDB rVtNb_give_donationmeta: Data: 0.25MB + Index: 0.23MB + Engine InnoDB rVtNb_give_donormeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB rVtNb_give_donors: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_give_formmeta: Data: 0.28MB + Index: 0.22MB + Engine InnoDB rVtNb_give_log: Data: 18.55MB + Index: 4.55MB + Engine InnoDB rVtNb_give_migrations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_give_p2p_campaigns: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_give_p2p_donation_source: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_give_p2p_fundraisers: Data: 0.02MB + Index: 0.05MB + Engine InnoDB rVtNb_give_p2p_sponsors: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_give_p2p_teams: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_give_p2p_team_invitations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_give_revenue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_give_sequential_ordering: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_give_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_give_subscriptionmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_give_subscriptions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB rVtNb_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_mwb_mautic_cf7_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_options: Data: 8.44MB + Index: 0.14MB + Engine InnoDB rVtNb_postmeta: Data: 52.50MB + Index: 10.84MB + Engine InnoDB rVtNb_posts: Data: 32.23MB + Index: 1.03MB + Engine InnoDB rVtNb_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB rVtNb_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_revslider_sliders: Data: 0.06MB + Index: 0.02MB + Engine InnoDB rVtNb_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_revslider_slides: Data: 0.08MB + Index: 0.02MB + Engine InnoDB rVtNb_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_term_relationships: Data: 0.06MB + Index: 0.02MB + Engine InnoDB rVtNb_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB rVtNb_um_metadata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB rVtNb_usermeta: Data: 1.50MB + Index: 0.55MB + Engine InnoDB rVtNb_users: Data: 0.06MB + Index: 0.05MB + Engine InnoDB rVtNb_wcpdf_credit_note_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_wcpdf_invoice_number: Data: 0.09MB + Index: 0.00MB + Engine InnoDB rVtNb_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_wcpdf_proforma_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB rVtNb_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB rVtNb_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_wc_customer_lookup: Data: 0.16MB + Index: 0.13MB + Engine InnoDB rVtNb_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_wc_order_product_lookup: Data: 0.28MB + Index: 0.31MB + Engine InnoDB rVtNb_wc_order_stats: Data: 0.20MB + Index: 0.22MB + Engine InnoDB rVtNb_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB rVtNb_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB rVtNb_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB rVtNb_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_wpmailsmtp_attachment_files: Data: 0.14MB + Index: 0.08MB + Engine InnoDB rVtNb_wpmailsmtp_debug_events: Data: 0.44MB + Index: 0.00MB + Engine InnoDB rVtNb_wpmailsmtp_emails_log: Data: 47.55MB + Index: 0.31MB + Engine InnoDB rVtNb_wpmailsmtp_email_attachments: Data: 0.09MB + Index: 0.13MB + Engine InnoDB rVtNb_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB rVtNb_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 918 condition_group: 1 cttm-marker: 6 custom_css: 3 docs: 8 e-landing-page: 1 elementor_library: 5 footer: 1 frm_form_actions: 3 frm_styles: 1 gallery: 9 give_forms: 15 give_payment: 110 give_pdf_template: 2 gva_header: 3 gva_team: 1 mt_pp: 24 nav_menu_item: 14 page: 71 popup: 4 popup_theme: 8 portfolio: 8 post: 172 product: 83 product_variation: 1 restriction: 1 revision: 2978 seedprod: 1 service: 6 shop_order: 1715 tribe_events: 4 tribe_organizer: 1 tribe_venue: 1 um_directory: 1 um_form: 3 wpcode: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (46) ### AddToAny Share Buttons: by AddToAny – 1.8.5 Advanced iFrame: by Michael Dempfle – 2022.5 Akismet Anti-Spam: by Automattic – 5.0 BackWPup: by Inpsyde GmbH – 3.10.0 BetterDocs: by WPDeveloper – 2.1.4 Child Theme Configurator: by Lilaea Media – 2.5.9 Classic Editor: by WordPress Contributors – 1.6.2 Classic Widgets: by WordPress Contributors – 0.3 Coinbase Commerce: by Coinbase Commerce – 1.2.1 Custom Adobe Fonts (Typekit): by Brainstorm Force – 1.0.18 Elementor Pro: by Elementor.com – 3.7.3 Elementor: by Elementor.com – 3.7.0 Formidable Forms Pro: by Strategy11 – 5.4.3 Formidable Forms: by Strategy11 – 5.4.3 Gallery Lightbox Lite: by GhozyLab Inc. – 1.0.0.39 Give - Annual Receipts: by GiveWP – 1.1.0 Give - Form Field Manager: by GiveWP – 2.0.3 Give - PDF Receipts: by GiveWP – 2.3.13 Give - Peer-to-Peer: by GiveWP – 1.3.5 Give - Recurring Donations: by GiveWP – 1.15.0 Give - Donation Plugin: by GiveWP – 2.21.4 WPCode - Insert Headers, Footers, and Code Snippets: by WPCode – 2.0.1 Jetpack: by Automattic – 11.2 Krowd Themer: by Gaviasthemes Team – 1.5.0 Loco Translate: by Tim Whitlock – 2.6.2 Meta Box: by MetaBox.io – 5.6.6 Restrict User Access: by Joachim Jensen - DEV Institute – 2.3.2 Share Your Purchase for WooCommerce: by Enrique J. Ros – 2.4.5 SpeechifAI: by SpeechifAI – 1.3 Tawk.to Live Chat: by Tawkto – 0.7.2 Travelers' Map: by Camille Verrier – 2.1.0 Ultimate Member: by Ultimate Member – 2.4.2 Open Graph and Twitter Card Tags: by PT Woo Plugins (by Webdados) – 3.2.0 Woo Donations: by Geek Code Lab – 2.7 Advanced Order Export For WooCommerce: by AlgolPlus – 3.3.2 WooCommerce Stripe Gateway: by WooCommerce – 6.5.1 WooCommerce Order Status Control: by SkyVerge – 1.14.0 WooCommerce PayPal Payments: by WooCommerce – 1.9.3 (update to version 2.0.0 is available) WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 3.0.1 WooCommerce PDF Invoices & Packing Slips Professional: by WP Overnight – 2.12.1 WooCommerce: by Automattic – 6.8.0 (update to version 7.1.0 is available) WP Crowdfunding Pro: by Themeum – 11.2.0 WP Crowdfunding: by Themeum – 2.1.2 WP File Manager: by mndpsingh287 – 7.1.6 WP Mail SMTP Pro: by WPForms – 3.5.1 Sequential Order Numbers for WooCommerce: by WebToffee – 1.4.8 ### Inactive Plugins (5) ### Advanced iFrame custom folder: by Michael Dempfle – 1.0 Code Snippets: by Code Snippets Pro – 3.2.0 Duplicate Page: by mndpsingh287 – 4.4.9 WP Mail SMTP: by WPForms – 3.5.1 WP Maintenance Mode & Coming Soon: by Themeisle – 2.4.7 ### Settings ### API Enabled: ? Force SSL: – Currency: CAD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 0 Taxonomies: Product Types: crowdfunding (crowdfunding) 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-2) 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: – ### WC Pages ### Shop base: #11 - /shop/ Cart: #12 - /cart/ Checkout: #13 - /checkout/ My account: #14 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Krowd Child Version: 1.0.8.1628175017 Author URL: https://gaviasthemes.com/ Child Theme: ? Parent Theme Name: Krowd Parent Theme Version: 1.0.8 Parent Theme Author URL: https://gaviasthemes.com/ WooCommerce Support: ? ### Templates ### Overrides: krowd/woocommerce/archive-product.php krowd/woocommerce/cart/cart.php krowd/woocommerce/cart/mini-cart.php krowd/woocommerce/checkout/form-checkout.php krowd/woocommerce/content-product-cat.php krowd/woocommerce/content-product.php krowd/woocommerce/content-single-product.php krowd-child/woocommerce/emails/customer-completed-order.php krowd-child/woocommerce/emails/customer-processing-order.php krowd/woocommerce/global/breadcrumb.php krowd/woocommerce/global/quantity-input.php krowd/woocommerce/global/wrapper-end.php krowd/woocommerce/global/wrapper-start.php krowd/woocommerce/loop/add-to-cart.php krowd/woocommerce/loop/loop-end.php krowd/woocommerce/loop/loop-start.php krowd/woocommerce/loop/orderby.php krowd/woocommerce/loop/pagination.php krowd/woocommerce/loop/price.php krowd/woocommerce/loop/rating.php krowd/woocommerce/loop/sale-flash.php krowd/woocommerce/notices/error.php krowd/woocommerce/notices/notice.php krowd/woocommerce/notices/success.php krowd/woocommerce/single-product/meta.php krowd/woocommerce/single-product/rating.php krowd/woocommerce/single-product/related.php krowd/woocommerce/single-product/sale-flash.php krowd/woocommerce/single-product/share.php krowd/woocommerce/single-product/short-description.php krowd/woocommerce/single-product/tabs/additional-information.php krowd/woocommerce/single-product/tabs/description.php krowd/woocommerce/single-product/tabs/tabs.php krowd/woocommerce/single-product/title.php krowd/woocommerce/single-product/up-sells.php krowd/woocommerce/single-product.php ### WooCommerce PayPal Payments ### Onboarded: ? Shop country code: CA WooCommerce currency supported: ? PayPal card processing available in country: ? Pay Later messaging available in country: – Webhook status: – Vault enabled: ? Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: – Tracking enabled: ? ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour shipping-smart-defaults shipping-setting-tour homescreen 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 wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ? Next scheduled: 2022-11-22 16:18:44 -05:00 Options: ? Notes: 109 Onboarding: skipped ### Action Scheduler ### Complete: 548 Oldest: 2022-10-25 14:17:03 -0400 Newest: 2022-11-21 17:13:51 -0500 Pending: 2 Oldest: 2022-11-22 10:55:52 -0500 Newest: 2022-11-26 00:13:13 -0500 ### Status report information ### Generated at: 2022-11-21 17:15:07 -05:00
Regards.
Hi @fadi22
I understand that your customers are receiving duplicate emails for thier donations made via the Stripe or Paypal payment gateways, is that correct?
Can you please check if there is some pattern in this scenario? For example, same customer location, same payment gateway, same amount, etc? For the payment gateway, have you confirmed if this is happening for both Stripe and Paypal payment gateways?
Thanks for sending the System Status Report.
WC Version: 6.8.0 WC Database Version: 6.8.0
As a first step, please update your WooCommerce core as well as database by going to
WooCommerce > Status > Tools > Update Database
.If this did not resolve the issue, can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled and see if this works?
If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.
If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.
Let us know how it goes!
Hello @xue28
Thank you so much for your response, and sorry again for my late response.
I tried all those options (updating WooCommerce and its database and deactivating plugins and switching to other plugins but nothing worked).
Besides that, we had the same issue when donations were made through PayPal and Stripe and the donors from many different locations.
The issue is currently solved and it was because one of the CrowdFunding WooCommerce plugin emails “WP CrowdFunding New Backed Notification”. We just disabled that email and everything has been working perfectly.
Thank you again.
Hi @fadi22
The issue is currently solved and it was because one of the CrowdFunding WooCommerce plugin emails “WP CrowdFunding New Backed Notification”. We just disabled that email and everything has been working perfectly.
I’m glad you were able to find the culprit of your issue here as well as the resolution too.
I will be marking this thread as resolved. Should you have further inquiries, kindly create a new topic here.
Thanks!
- The topic ‘Completed Order Emails Get Sent Twice’ is closed to new replies.