Emails not generated via API orders
-
Hi there,
I hope that someone will understand my problem and help me solve it.
We have an online store and get our orders pushed through the WooCommerce APIs. We send our customers an update on their order. The problem is that only orders via the website trigger these e-mails. The store administrator and the customer are sent the email. All other order status triggers emails as well. Only the orders coming from the API do not trigger the emails.
I have read almost every closed topic on the subject. They all suggest installing the mail logger, checking the SMTP settings and checking whether the emails are in the spam folders. All this is properly set, the only issues are that the external orders that are pushed through the API do not generate any mail.
Can someone help me. Thanks in advance!
-
To help me diagnose it, can you share with us:
Your System Status Report: 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.
And your Error log: share a copy of the fatal error log found under WooCommerce > System Status > Logs (if available)
I hope to hear from you soon! All the best!
### WordPress Environment ### WordPress address (URL): https://www.xxxxxxx.xxx Site address (URL): https://www.xxxxxxx.xxx WC Version: 6.2.0 REST API Version: ✔ 6.2.0 WC Blocks Version: ✔ 6.7.3 Action Scheduler Version: ✔ 3.4.0 WC Admin Version: ✔ 3.1.0 Log Directory Writable: ✔ WP Version: 5.9 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: nl_NL External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.9 PHP Post Max Size: 32 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.64.0 OpenSSL/1.1.1g SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.31-MariaDB-log Max Upload Size: 32 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 6.2.0 WC Database Prefix: wp2_ Totale databasegrootte: 41.40MB Database datagrootte: 29.48MB Database index grootte: 11.92MB wp2_woocommerce_sessions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp2_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp2_woocommerce_order_items: Data: 0.14MB + Index: 0.06MB + Engine InnoDB wp2_woocommerce_order_itemmeta: Data: 0.50MB + Index: 0.59MB + Engine InnoDB wp2_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp2_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_actionscheduler_actions: Data: 1.52MB + Index: 0.84MB + Engine InnoDB wp2_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_actionscheduler_logs: Data: 1.52MB + Index: 0.44MB + Engine InnoDB wp2_cartflows_ca_cart_abandonment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_comments: Data: 0.31MB + Index: 0.38MB + Engine InnoDB wp2_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wp2_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp2_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_fa_user_logins: Data: 0.02MB + Index: 0.06MB + Engine MyISAM wp2_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB wp2_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_options: Data: 10.52MB + Index: 0.16MB + Engine InnoDB wp2_postmeta: Data: 5.52MB + Index: 4.03MB + Engine InnoDB wp2_posts: Data: 1.52MB + Index: 0.61MB + Engine InnoDB wp2_post_views: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_rednao_wc_invoice: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_rednao_wc_invoices_created: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_rednao_wc_invoices_custom_field: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_simple_history: Data: 0.11MB + Index: 0.06MB + Engine InnoDB wp2_simple_history_contexts: Data: 1.52MB + Index: 0.45MB + Engine InnoDB wp2_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_term_relationships: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp2_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_usermeta: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wp2_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp2_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp2_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_wc_customer_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp2_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_wc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp2_wc_order_stats: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp2_wc_order_tax_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp2_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp2_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_wfpklist_template_data: Data: 0.03MB + Index: 0.00MB + Engine InnoDB wp2_wpforms_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_wpforms_entry_fields: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp2_wpforms_entry_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_wpml_mails: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp2_yabp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp2_yabp_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp2_yaysmtp_email_logs: Data: 0.16MB + Index: 0.00MB + Engine InnoDB wp2_yoast_indexable: Data: 1.52MB + Index: 0.69MB + Engine InnoDB wp2_yoast_indexable_hierarchy: Data: 0.11MB + Index: 0.22MB + Engine InnoDB wp2_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_zbscrm_api_keys: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_admlog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_aka: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_zbs_companies: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp2_zbs_contacts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_zbs_customfields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp2_zbs_dbmigration_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_zbs_dbmigration_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp2_zbs_events: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp2_zbs_event_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_externalsources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_zbs_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_zbs_invoices: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp2_zbs_lineitems: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_zbs_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_zbs_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_object_links: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp2_zbs_quotes: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp2_zbs_quotes_templates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp2_zbs_security_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_segments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_segments_conditions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_settings: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp2_zbs_sys_cronmanagerlogs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_sys_email: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_sys_email_hist: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp2_zbs_tags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_tags_links: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp2_zbs_tax_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_temphash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_tracking: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp2_zbs_transactions: Data: 0.02MB + Index: 0.14MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ### Post Type Counts ### aam_policy: 1 attachment: 1777 cartflows_flow: 2 cartflows_step: 4 cookielawinfo: 6 custom_css: 3 customize_changeset: 17 elementor_library: 8 inspire_invoice: 1 nav_menu_item: 8 page: 20 payment_condition: 2 post: 3 product: 77 revision: 88 shipping_condition: 3 shop_coupon: 5 shop_order: 389 wp_global_styles: 1 wpforms: 2 yaymail_template: 11 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (29) ### Advanced Access Manager: door Vasyl Martyniuk <[email protected]> – 6.8.0 PublishPress Capabilities: door PublishPress – 2.3.4 GDPR Cookie-toestemming: door WebToffee – 2.0.9 Elementor Pro: door Elementor.com – 3.6.2 Elementor: door Elementor.com – 3.5.5 Essential Addons for Elementor: door WPDeveloper – 5.0.7 Google Listings and Ads: door WooCommerce – 1.11.1 Jetpack: door Automattic – 10.6 Google Ads & Marketing by Kliken: door Kliken – 1.0.8 LoginPress - Customizing the WordPress Login Screen.: door WPBrigade – 1.5.12 Maintenance: door WebFactory Ltd – 4.05 Mollie-betalingen voor WooCommerce: door Mollie – 7.0.2 Perfect Brands for WooCommerce: door QuadLayers – 2.0.6 Post Views Counter: door Digital Factory – 1.3.11 Simple History: door Pär Thernström – 3.2.0 Templately: door Templately – 1.3.3 User Login History: door Er Faiyaz Alam – 2.1.0 Shipping and Payment Rules and Conditions for WooCommerce: door WPRuby – 1.0.8 Advanced Order Export For WooCommerce: door AlgolPlus – 3.2.2 WooCommerce PostNL: door PostNL – 4.4.1 WooCommerce EffectConnect: door Koek&Peer – 1.2.36 WooCommerce PayPal Payments: door WooCommerce – 1.6.5 WooCommerce Shipping & Tax: door WooCommerce – 1.25.23 WooCommerce: door Automattic – 6.2.0 Yoast SEO: door Team Yoast – 18.1 Widget Disable: door required – 2.0.0 WPForms: door WPForms – 1.7.2.2 YayMail - WooCommerce Email Customizer: door YayCommerce – 2.8.3 YaySMTP - Simple WP SMTP Mail: door YayCommerce – 2.0.1 ### Inactive Plugins (6) ### Flexible Invoices for WooCommerce and WordPress: door WP Desk – 5.6.3 Remove Footer Credit: door WPChill – 1.0.12 WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels: door WebToffee – 2.8.9 WPForms Lite: door WPForms – 1.7.2.1 WP Mail Logging: door Wysija – 1.10.4 WP Mail SMTP: door WPForms – 3.2.1 ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) 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 ### Winkelbasis: ❌ De pagina moet als Openbaar zijn ingesteld Winkelwagen: ❌ De pagina moet als Openbaar zijn ingesteld Afrekenen: #7 - /checkout/ Mijn account: ❌ De pagina moet als Openbaar zijn ingesteld Algemene voorwaarden: ❌ Pagina ID is aangegeven maar de pagina bestaat niet ### Theme ### Name: Astra Version: 3.7.7 Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme Child Theme: ❌ – Als je wijzigingen aanbrengt in WooCommerce of in een hoofdthema dat je niet zelf gebouwd hebt raden we het gebruik van een sub-thema aan. Zie: Hoe maak je een sub-thema WooCommerce Support: ✔ ### Templates ### Overrides: – ### WooCommerce PayPal Payments ### Onboarded: ✔ Shop country code: NL 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: – ### Action Scheduler ### Afgerond: 2.252 Oldest: 2022-01-16 14:45:33 +0000 Newest: 2022-02-16 07:55:09 +0000 In afwachting: 9 Oldest: 2022-02-16 20:25:26 +0000 Newest: 2022-02-23 07:55:09 +0000 ### Status report information ### Generated at: 2022-02-16 08:58:51 +01:00-
This reply was modified 4 years, 3 months ago by
anassgreenbasket.
This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.
I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.
You can also visit the WooCommerce Facebook group or the
#developerschannel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.Seems we’ve not had additional inputs on this thread. Thus, we encourage you to make use of the above resources.
I’ll go ahead and mark the thread as closed but please feel free to create a new thread if you have further questions.
-
This reply was modified 4 years, 3 months ago by
The topic ‘Emails not generated via API orders’ is closed to new replies.