Download link doesn’t sent
-
Hello,
I’ve a problem customers only get 1 email that contain the information about order but they don’t get the other email that contain the download link.
The only email customers get is this email below:Thanks for your order. It’s on-hold until we confirm that payment has been received. In the meantime, here’s a reminder of what you ordered:
I followed woocommerce docs instructions and added this function to “functions.php” file:
add_action( ‘woocommerce_thankyou’, ‘custom_woocommerce_auto_complete_order’ );
function custom_woocommerce_auto_complete_order( $order_id ) {
if ( ! $order_id ) {
return;
}$order = wc_get_order( $order_id );
$order->update_status( ‘completed’ );
}The order auto completed just fine but costumers don’t get the confirmation email.
my woocommerce version is 4.2.2
WordPress version is 5.5.3System Report:
### WordPress Environment ### WordPress address (URL): https://tebooks.net Site address (URL): https://tebooks.net WC Version: 4.2.2 REST API Version: ? 1.0.8 WC Blocks Version: ? 2.5.16 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.2.4 Log Directory Writable: ? WP Version: 5.5.3 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.11 PHP Post Max Size: 2 GB PHP Time Limit: 500 PHP Max Input Vars: 1000 cURL Version: 7.73.0 OpenSSL/1.1.1h SUHOSIN Installed: – MySQL Version: 5.6.41-84.1 Max Upload Size: 1 GB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.6.2 WC Database Prefix: TE_ Total Database Size: 63.88MB Database Data Size: 36.73MB Database Index Size: 27.15MB TE_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB TE_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB TE_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB TE_woocommerce_downloadable_product_permissions: Data: 0.20MB + Index: 0.41MB + Engine InnoDB TE_woocommerce_order_items: Data: 0.33MB + Index: 0.09MB + Engine InnoDB TE_woocommerce_order_itemmeta: Data: 2.11MB + Index: 2.72MB + Engine InnoDB TE_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB TE_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB TE_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB TE_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB TE_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB TE_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB TE_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB TE_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB TE_actionscheduler_actions: Data: 3.02MB + Index: 1.38MB + Engine InnoDB TE_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB TE_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB TE_actionscheduler_logs: Data: 2.02MB + Index: 1.53MB + Engine InnoDB TE_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB TE_comments: Data: 1.25MB + Index: 0.67MB + Engine InnoDB TE_ewd_uwpm_email_links_clicked_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB TE_ewd_uwpm_email_only_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB TE_ewd_uwpm_email_open_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB TE_ewd_uwpm_email_send_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB TE_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB TE_options: Data: 2.02MB + Index: 0.14MB + Engine InnoDB TE_postmeta: Data: 14.52MB + Index: 12.86MB + Engine InnoDB TE_posts: Data: 5.48MB + Index: 1.03MB + Engine InnoDB TE_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB TE_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB TE_term_relationships: Data: 0.14MB + Index: 0.11MB + Engine InnoDB TE_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB TE_usermeta: Data: 2.50MB + Index: 3.91MB + Engine InnoDB TE_users: Data: 0.20MB + Index: 0.23MB + Engine InnoDB TE_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB TE_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB TE_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB TE_wc_customer_lookup: Data: 0.27MB + Index: 0.22MB + Engine InnoDB TE_wc_download_log: Data: 0.30MB + Index: 0.27MB + Engine InnoDB TE_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB TE_wc_order_product_lookup: Data: 0.33MB + Index: 0.38MB + Engine InnoDB TE_wc_order_stats: Data: 0.30MB + Index: 0.31MB + Engine InnoDB TE_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB TE_wc_product_meta_lookup: Data: 0.14MB + Index: 0.33MB + Engine InnoDB TE_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB TE_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB TE_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### attachment: 1305 page: 8 post: 1 product: 1222 revision: 21 shop_order: 2796 shop_order_refund: 8 uwpm_mail_template: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (5) ### Exclude Pages From Menu: by Vinod Dalvi – 2.0 Google Ads for WooCommerce: by Kliken – 1.0.4 – Installed version not tested with active version of WooCommerce 4.2.2 Really Simple SSL: by Really Simple Plugins – 3.3.5 Increase Maximum Upload File Size: by Imagify – 2.0.4 WooCommerce: by Automattic – 4.2.2 (update to version 4.6.2 is available) ### Inactive Plugins (3) ### Akismet Anti-Spam: by Automattic – 4.1.6 Hello Dolly: by Matt Mullenweg – 1.7.2 Ultimate WP Mail: by Etoile Web Design – 0.23 ### Must Use Plugins (1) ### SSO: by Garth Mortensen Mike Hansen – 0.3 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left 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: – ### WC Pages ### Shop base: #7 - / Cart: #8 - /cart/ Checkout: #9 - /checkout/ My account: #10 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Storefront Version: 2.7.0 (update to version 2.8.0 is available) Author URL: https://woocommerce.com/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Complete: 6,249 Oldest: 2020-10-09 12:06:55 +0000 Newest: 2020-11-09 11:34:00 +0000
The order status is automatically completed and still the emails that contain the download link are not sent.
Even when I change the status to “Processing” or “Completed” there is no message sent.
“Processing Order” and “Order Completed” emails are enabled.Please help.
Thank you.
- The topic ‘Download link doesn’t sent’ is closed to new replies.