Webhook fires twice
-
Hello,
I created a webhook for Order Updated trigger.
When the order is paid with 1 installment, the webhook is fired once.
When the order is paid with 2 installments and more, the webhook is fired twice, with the same data.The clearing company sends only one call back to woocommerce, after a successful payment (1 or more installments)
It’s the first time I’m seeing this issue, and I don’t know where and what to check further.
Any ideas why this is happening and how to fix it?
Thank you
-
Hi @sitesuccess
Thanks for reaching out!
If I understand you correctly, the webhook you created is being fired twice when the order is paid with 2 installments, right?
Can you please share what webhook you created here for us to check this further?
Furthermore, what payment gateway was used for paying installments on your site?
Meanwhile, I’d like to understand your site properly, please share your System Status Report that you can find via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
. Once you’ve done that, you can paste it into your reply here.If you could also provide the fatal error logs (if any) under
WooCommerce > Status > Logs
.Thanks!
Hi,
It happens when the order is paid with 2 or more installments (i.e 100$ is paid by 50$ & 50$).
What do you mean by “share the webhook”? a screenshot? webhook URL?
The website is using an Israeli clearing company with a WC plugin. It’s called Cardcom.
System report:
WordPress Environment WordPress address (URL): https://students.buttoacademy.co.il Site address (URL): https://students.buttoacademy.co.il WC Version: 7.3.0 REST API Version: ?</img> 7.3.0 WC Blocks Version: ?</img> 9.1.5 Action Scheduler Version: ?</img> 3.5.2 Log Directory Writable: ?</img> WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ?</img> Language: he_IL External object cache: – Server Environment Server Info: LiteSpeed PHP Version: 7.4.33 PHP Post Max Size: 128 MB PHP Time Limit: 300 PHP Max Input Vars: 10240 cURL Version: 7.84.0 OpenSSL/1.1.1p SUHOSIN Installed: – MySQL Version: 8.0.32 Max Upload Size: 128 MB Default Timezone is UTC: ?</img> fsockopen/cURL: ?</img> SoapClient: ?</img> Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected. DOMDocument: ?</img> GZip: ?</img> Multibyte String: ?</img> Remote Post: ?</img> Remote Get: ?</img> Database WC Database Version: 7.3.0 WC Database Prefix: wm8yyer_ Total Database Size: 186.74MB Database Data Size: 120.98MB Database Index Size: 65.76MB wm8yyer_woocommerce_sessions: Data: 0.16MB + Index: 0.02MB + Engine InnoDB wm8yyer_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wm8yyer_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB wm8yyer_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wm8yyer_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wm8yyer_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wm8yyer_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_actionscheduler_actions: Data: 3.02MB + Index: 1.61MB + Engine InnoDB wm8yyer_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_actionscheduler_logs: Data: 1.02MB + Index: 0.58MB + Engine InnoDB wm8yyer_affiliate_wp_affiliatemeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wm8yyer_affiliate_wp_affiliates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_affiliate_wp_campaigns: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_affiliate_wp_coupons: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_affiliate_wp_creatives: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_affiliate_wp_customermeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wm8yyer_affiliate_wp_customers: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wm8yyer_affiliate_wp_payouts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_affiliate_wp_referralmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_affiliate_wp_referrals: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_affiliate_wp_rest_consumers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_affiliate_wp_sales: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_affiliate_wp_visits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_affwp_zapier_logs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wm8yyer_automatorwp_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_automatorwp_actions_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_automatorwp_automations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_automatorwp_automations_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_automatorwp_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wm8yyer_automatorwp_logs_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_automatorwp_triggers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_automatorwp_triggers_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_automatorwp_webhooks_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_automatorwp_webhooks_logs_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_bp_activity: Data: 0.08MB + Index: 0.16MB + Engine InnoDB wm8yyer_bp_activity_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_bp_invitations: Data: 0.02MB + Index: 0.14MB + Engine InnoDB wm8yyer_bp_notifications: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wm8yyer_bp_notifications_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_bp_optouts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wm8yyer_bp_xprofile_data: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wm8yyer_bp_xprofile_fields: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wm8yyer_bp_xprofile_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_bp_xprofile_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_comments: Data: 1.01MB + Index: 0.12MB + Engine MyISAM wm8yyer_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB wm8yyer_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wm8yyer_e_submissions: Data: 0.01MB + Index: 0.04MB + Engine MyISAM wm8yyer_e_submissions_actions_log: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wm8yyer_e_submissions_values: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wm8yyer_gf_addon_feed: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_gf_addon_payment_callback: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_gf_addon_payment_transaction: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_gf_draft_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_gf_entry: Data: 0.04MB + Index: 0.01MB + Engine MyISAM wm8yyer_gf_entry_meta: Data: 0.08MB + Index: 0.07MB + Engine MyISAM wm8yyer_gf_entry_notes: Data: 0.03MB + Index: 0.01MB + Engine MyISAM wm8yyer_gf_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_gf_form_meta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wm8yyer_gf_form_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_gf_form_view: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wm8yyer_gf_rest_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wm8yyer_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_ld_notifications_delayed_emails: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_learndash_pro_quiz_category: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_learndash_pro_quiz_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_learndash_pro_quiz_lock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_learndash_pro_quiz_master: Data: 0.07MB + Index: 0.00MB + Engine MyISAM wm8yyer_learndash_pro_quiz_prerequisite: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_learndash_pro_quiz_question: Data: 1.82MB + Index: 0.04MB + Engine MyISAM wm8yyer_learndash_pro_quiz_statistic: Data: 4.45MB + Index: 1.27MB + Engine MyISAM wm8yyer_learndash_pro_quiz_statistic_ref: Data: 0.35MB + Index: 0.43MB + Engine MyISAM wm8yyer_learndash_pro_quiz_template: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wm8yyer_learndash_pro_quiz_toplist: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_learndash_user_activity: Data: 2.52MB + Index: 11.03MB + Engine InnoDB wm8yyer_learndash_user_activity_meta: Data: 6.52MB + Index: 9.03MB + Engine InnoDB wm8yyer_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wm8yyer_options: Data: 9.33MB + Index: 0.29MB + Engine MyISAM wm8yyer_postmeta: Data: 7.34MB + Index: 3.32MB + Engine MyISAM wm8yyer_posts: Data: 17.50MB + Index: 1.25MB + Engine MyISAM wm8yyer_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM wm8yyer_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_revslider_sliders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_revslider_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_rg_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_rg_form_meta: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wm8yyer_rg_form_view: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_rg_lead: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_rg_lead_detail: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_rg_lead_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_rg_lead_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_rg_userregistration: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_rg_zapier: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_rgwl_gravitymember: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_signups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_term_relationships: Data: 0.02MB + Index: 0.04MB + Engine MyISAM wm8yyer_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wm8yyer_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wm8yyer_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wm8yyer_tm_taskmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_usermeta: Data: 9.19MB + Index: 1.63MB + Engine MyISAM wm8yyer_users: Data: 0.14MB + Index: 0.13MB + Engine MyISAM wm8yyer_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wm8yyer_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wm8yyer_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wm8yyer_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wm8yyer_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wm8yyer_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wm8yyer_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wm8yyer_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wm8yyer_wlcc_contentarchiver: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_wlcc_contentmanager_move: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_wlcc_contentmanager_repost: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_wlcc_contentmanager_set: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_wlcc_contentsched: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_wlm_api_queue: Data: 0.27MB + Index: 0.01MB + Engine MyISAM wm8yyer_wlm_contentlevel_options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_wlm_contentlevels: Data: 0.02MB + Index: 0.06MB + Engine MyISAM wm8yyer_wlm_email_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_wlm_emailbroadcast: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_wlm_level_options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_wlm_login2options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_wlm_logs: Data: 0.70MB + Index: 0.30MB + Engine MyISAM wm8yyer_wlm_options: Data: 0.88MB + Index: 0.03MB + Engine MyISAM wm8yyer_wlm_presto_player_visits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_wlm_user_options: Data: 0.44MB + Index: 0.49MB + Engine MyISAM wm8yyer_wlm_userlevel_options: Data: 0.68MB + Index: 0.86MB + Engine MyISAM wm8yyer_wlm_userlevels: Data: 0.13MB + Index: 0.43MB + Engine MyISAM wm8yyer_wlwc_options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_woocommerce_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wm8yyer_wpr_rocket_cache: Data: 0.23MB + Index: 0.28MB + Engine InnoDB wm8yyer_wpr_rucss_used_css: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_wpstg_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wm8yyer_yoast_indexable: Data: 2.07MB + Index: 0.65MB + Engine MyISAM wm8yyer_yoast_indexable_hierarchy: Data: 0.09MB + Index: 0.22MB + Engine MyISAM wm8yyer_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wm8yyer_yoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wm8yyer_yoast_seo_links: Data: 0.19MB + Index: 0.07MB + Engine MyISAM wm8yyer_yoast_seo_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wpstg0_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_affiliate_wp_affiliatemeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_affiliate_wp_affiliates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_affiliate_wp_campaigns: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_affiliate_wp_coupons: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_affiliate_wp_creatives: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_affiliate_wp_customermeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_affiliate_wp_customers: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_affiliate_wp_payouts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_affiliate_wp_referralmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_affiliate_wp_referrals: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_affiliate_wp_rest_consumers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_affiliate_wp_sales: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_affiliate_wp_visits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_affwp_zapier_logs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpstg0_bp_activity: Data: 0.08MB + Index: 0.16MB + Engine InnoDB wpstg0_bp_activity_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_bp_invitations: Data: 0.02MB + Index: 0.14MB + Engine InnoDB wpstg0_bp_notifications: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wpstg0_bp_notifications_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_bp_optouts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpstg0_bp_xprofile_data: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wpstg0_bp_xprofile_fields: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wpstg0_bp_xprofile_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_bp_xprofile_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_comments: Data: 0.96MB + Index: 0.10MB + Engine MyISAM wpstg0_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB wpstg0_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpstg0_e_submissions: Data: 0.00MB + Index: 0.04MB + Engine MyISAM wpstg0_e_submissions_actions_log: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_e_submissions_values: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_gf_addon_feed: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_gf_addon_payment_callback: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_gf_addon_payment_transaction: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_gf_draft_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_gf_entry: Data: 0.04MB + Index: 0.01MB + Engine MyISAM wpstg0_gf_entry_meta: Data: 0.08MB + Index: 0.07MB + Engine MyISAM wpstg0_gf_entry_notes: Data: 0.03MB + Index: 0.01MB + Engine MyISAM wpstg0_gf_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_gf_form_meta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpstg0_gf_form_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_gf_form_view: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wpstg0_gf_rest_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wpstg0_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_ld_notifications_delayed_emails: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_learndash_pro_quiz_category: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_learndash_pro_quiz_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_learndash_pro_quiz_lock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_learndash_pro_quiz_master: Data: 0.05MB + Index: 0.00MB + Engine MyISAM wpstg0_learndash_pro_quiz_prerequisite: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_learndash_pro_quiz_question: Data: 1.19MB + Index: 0.03MB + Engine MyISAM wpstg0_learndash_pro_quiz_statistic: Data: 2.25MB + Index: 0.69MB + Engine MyISAM wpstg0_learndash_pro_quiz_statistic_ref: Data: 0.21MB + Index: 0.24MB + Engine MyISAM wpstg0_learndash_pro_quiz_template: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpstg0_learndash_pro_quiz_toplist: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_learndash_user_activity: Data: 2.52MB + Index: 11.03MB + Engine InnoDB wpstg0_learndash_user_activity_meta: Data: 6.52MB + Index: 9.03MB + Engine InnoDB wpstg0_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_options: Data: 6.48MB + Index: 0.15MB + Engine MyISAM wpstg0_postmeta: Data: 4.68MB + Index: 2.25MB + Engine MyISAM wpstg0_posts: Data: 13.14MB + Index: 0.62MB + Engine MyISAM wpstg0_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM wpstg0_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_revslider_sliders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_revslider_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_rg_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_rg_form_meta: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wpstg0_rg_form_view: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_rg_lead: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_rg_lead_detail: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_rg_lead_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_rg_lead_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_rg_userregistration: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_rg_zapier: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_rgwl_gravitymember: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_signups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_term_relationships: Data: 0.02MB + Index: 0.04MB + Engine MyISAM wpstg0_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_tm_taskmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_usermeta: Data: 5.49MB + Index: 1.08MB + Engine MyISAM wpstg0_users: Data: 0.09MB + Index: 0.08MB + Engine MyISAM wpstg0_wlcc_contentarchiver: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wlcc_contentmanager_move: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wlcc_contentmanager_repost: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wlcc_contentmanager_set: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wlcc_contentsched: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wlm_api_queue: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wpstg0_wlm_contentlevel_options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wlm_contentlevels: Data: 0.02MB + Index: 0.04MB + Engine MyISAM wpstg0_wlm_email_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wlm_emailbroadcast: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wlm_level_options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wlm_login2options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wlm_logs: Data: 0.46MB + Index: 0.17MB + Engine MyISAM wpstg0_wlm_options: Data: 0.77MB + Index: 0.02MB + Engine MyISAM wpstg0_wlm_presto_player_visits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wlm_user_options: Data: 0.30MB + Index: 0.33MB + Engine MyISAM wpstg0_wlm_userlevel_options: Data: 0.41MB + Index: 0.54MB + Engine MyISAM wpstg0_wlm_userlevels: Data: 0.08MB + Index: 0.25MB + Engine MyISAM wpstg0_wlwc_options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_woocommerce_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_wpr_rucss_resources: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wpr_rucss_used_css: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_wpstg_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_yoast_indexable: Data: 2.25MB + Index: 0.65MB + Engine MyISAM wpstg0_yoast_indexable_hierarchy: Data: 0.09MB + Index: 0.22MB + Engine MyISAM wpstg0_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpstg0_yoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpstg0_yoast_seo_links: Data: 0.23MB + Index: 0.07MB + Engine MyISAM wpstg0_yoast_seo_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM Post Type Counts attachment: 256 bnfw_notification: 1 bp-email: 19 coursenote: 63 custom_css: 1 e-landing-page: 1 elementor_font: 1 elementor_library: 39 forum: 23 gradebook: 14 groups: 50 itsec-dash-card: 12 itsec-dashboard: 2 ld-notification: 1 ldms_message: 18 nav_menu_item: 36 oembed_cache: 2 page: 32 post: 14 pp_video_block: 4 product: 12 reply: 4 revision: 496 sfwd-assignment: 900 sfwd-certificates: 12 sfwd-courses: 61 sfwd-essays: 5086 sfwd-lessons: 360 sfwd-question: 1082 sfwd-quiz: 141 sfwd-topic: 34 shop_coupon: 1 shop_order: 36 topic: 3 xlwcty_thankyou: 1 Security Secure connection (HTTPS): ?</img> Hide errors from visitors: ?</img> Active Plugins (37) AutomatorWP Pro: by AutomatorWP – 2.2.1 AutomatorWP - Webhooks: by AutomatorWP – 1.2.4 AutomatorWP: by AutomatorWP – 2.5.6 BBQ Firewall: by Jeff Starr – 20221002 Design Upgrade for LearnDash: by Escape Creative – 2.12 Design Upgrade Pro for LearnDash: by Escape Creative – 2.21.1 ????? ????'??: by Ryan Hellyer – 1.7.4 ??????? ???: by Elementor.com – 3.10.1 ???????: by Elementor.com – 3.10.2 Email Address Encoder: by Till Krüss – 1.0.22 Embed Any Document Plus: by Awsm Innovations – 2.8.1 Hide Title: by Dojo Digital – 1.0.8 Imsanity: by Exactly WWW – 2.8.2 Visual Customizer for LearnDash: by SnapOrbital – 2.3.16 LearnDash LMS - Course Grid: by LearnDash – 2.0.7 LearnDash LMS - Elementor: by LearnDash – 1.0.3 GradeBook for LearnDash: by Real Big Plugins – 4.1.1 LearnDash Licensing & Management: by LearnDash – 1.1.5 LearnDash LMS - Integrity: by LearnDash – 1.1 ????? ????? ?????? - ??????: by LearnDash – 1.6 LearnDash LMS - ProPanel: by LearnDash – 2.1.4.2 LearnDash LMS - WooCommerce Integration: by LearnDash – 1.9.6 LoginPress - Customizing the WordPress Login Screen.: by WPBrigade – 1.7.0 Nav Menu Roles: by Kathy Darling – 2.1.2 ???? ??????: by ???? ?????? – 2.1.0 Protect Admin: by Keystroke Click – 1.1.1 ????? ????? ??????: by ????? ????? ??????? – 4.5.0.3 Uncanny Toolkit for LearnDash: by Uncanny Owl – 3.6.4.2 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.22.24 Widget Areas for LearnDash: by Escape Creative – 1.1 Widget Options: by Widget Options Team – 3.8.10 WishList Member?: by WishList Products – 3.22.4 CardCom Payment Gateway: by CardCom LTD – 3.4.7.9 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.8.1 ???????: by ???? ???????? – 7.3.0 WP Remove Query Strings From Static Resources: by Rinku Yadav – 1.4 WP Rocket: by WP Media – 3.12.5.3 Inactive Plugins (1) Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.25.11 Dropin Plugins (2) advanced-cache.php: advanced-cache.php maintenance.php: maintenance.php Settings API Enabled: ?</img> Force SSL: – Currency: ILS (?) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: course (course) 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: – Enforce Approved Product Download Directories: – Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: ?</img> Page ID is set but the page does not exist Cart: ?</img> Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block. Checkout: ?</img> Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block. My account: ?</img> Page does not contain the [woocommerce_my_account] shortcode. Terms and conditions: #19850 - /%d7%aa%d7%a0%d7%90%d7%99-%d7%a9%d7%99%d7%9e%d7%95%d7%a9/ Theme Name: astra-child Version: 1.0.0 Author URL: https://www.sitesuccess.co.il/astra Child Theme: ?</img> Parent Theme Name: Astra Parent Theme Version: 3.9.4 – 4.0.2 is available Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme WooCommerce Support: ?</img> Templates Overrides: – Admin Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-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 woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ?</img> Next scheduled: 2023-02-06 15:43:44 +02:00 Options: ?</img> Notes: 59 Onboarding: completed Action Scheduler Complete: 4,415 Oldest: 2023-02-05 14:16:17 +0200 Newest: 2023-02-06 14:51:58 +0200 Failed: 2,102 Oldest: 2022-11-08 09:18:52 +0200 Newest: 2023-01-26 15:41:21 +0200 Pending: 3 Oldest: 2023-02-06 14:52:15 +0200 Newest: 2023-02-07 13:02:42 +0200 Status report information Generated at: 2023-02-06 14:52:00 +02:00 `
Thanks
Hi,
Sorry to hear about this.
May I ask you to provide one more piece of information? Please navigate under WooCommerce > System Status > Logs (to see if there is any error visible). If so, share a copy of any fatal error log found, thanks.
Thanks.
Here’s the only fatal error log found:
2023-01-13T06:12:59+00:00 CRITICAL syntax error, unexpected 'return' (T_RETURN) ????? /home/buttoaca/students1.buttoacademy.co.il/wp-content/themes/astra-child/functions.php ????? 448 2023-01-13T06:13:56+00:00 CRITICAL syntax error, unexpected 'return' (T_RETURN) ????? /home/buttoaca/students1.buttoacademy.co.il/wp-content/themes/astra-child/functions.php ????? 448 2023-01-13T06:36:32+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function my_woocommerce_webhook_payload(), 1 passed in /home/buttoaca/students1.buttoacademy.co.il/wp-includes/class-wp-hook.php on line 310 and exactly 4 expected in /home/buttoaca/students1.buttoacademy.co.il/wp-content/themes/astra-child/functions.php:447
Stack trace: 0 /home/buttoaca/students1.buttoacademy.co.il/wp-includes/class-wp-hook.php(310): my_woocommerce_webhook_payload(Array) 1 /home/buttoaca/students1.buttoacademy.co.il/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) 2 /home/buttoaca/students1.buttoacademy.co.il/wp-content/plugins/woocommerce/includes/class-wc-webhook.php(482): apply_filters('woocommerce_web…', Array, 'order', 23978, 2) 3 /home/buttoaca/students1.buttoacademy.co.il/wp-content/plugins/woocommerce/includes/class-wc-webhook.php(319): WC_Webhook->build_payload(23978) 4 /home/buttoaca/students1.buttoacademy.co.il/wp-content/plugins/woocommerce/includes/wc-webhook-functions.php(78): WC_Webhook->deliver(23978) ????? /home/buttoaca/students1.buttoacademy.co.il/wp-content/themes/astra-child/functions.php ????? 447 2023-01-13T06:38:33+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function my_woocommerce_webhook_payload(), 1 passed in /home/buttoaca/students1.buttoacademy.co.il/wp-includes/class-wp-hook.php on line 310 and exactly 4 expected in /home/buttoaca/students1.buttoacademy.co.il/wp-content/themes/astra-child/functions.php:447
Stack trace: 0 /home/buttoaca/students1.buttoacademy.co.il/wp-includes/class-wp-hook.php(310): my_woocommerce_webhook_payload(Array) 1 /home/buttoaca/students1.buttoacademy.co.il/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) 2 /home/buttoaca/students1.buttoacademy.co.il/wp-content/plugins/woocommerce/includes/class-wc-webhook.php(482): apply_filters('woocommerce_web…', Array, 'order', 23979, 2) 3 /home/buttoaca/students1.buttoacademy.co.il/wp-content/plugins/woocommerce/includes/class-wc-webhook.php(319): WC_Webhook->build_payload(23979) 4 /home/buttoaca/students1.buttoacademy.co.il/wp-content/plugins/woocommerce/includes/wc-webhook-functions.php(78): WC_Webhook->deliver(23979) ????? /home/buttoaca/students1.buttoacademy.co.il/wp-content/themes/astra-child/functions.php ????? 447 2023-01-13T06:39:14+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function my_woocommerce_webhook_payload(), 1 passed in /home/buttoaca/students1.buttoacademy.co.il/wp-includes/class-wp-hook.php on line 310 and exactly 4 expected in /home/buttoaca/students1.buttoacademy.co.il/wp-content/themes/astra-child/functions.php:447
Stack trace: 0 /home/buttoaca/students1.buttoacademy.co.il/wp-includes/class-wp-hook.php(310): my_woocommerce_webhook_payload(Array) 1 /home/buttoaca/students1.buttoacademy.co.il/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) 2 /home/buttoaca/students1.buttoacademy.co.il/wp-content/plugins/woocommerce/includes/class-wc-webhook.php(482): apply_filters('woocommerce_web…', Array, 'order', 23979, 2) 3 /home/buttoaca/students1.buttoacademy.co.il/wp-content/plugins/woocommerce/includes/class-wc-webhook.php(319): WC_Webhook->build_payload(23979) 4 /home/buttoaca/students1.buttoacademy.co.il/wp-content/plugins/woocommerce/includes/wc-webhook-functions.php(78): WC_Webhook->deliver(23979) ????? /home/buttoaca/students1.buttoacademy.co.il/wp-content/themes/astra-child/functions.php ????? 447Howdy @sitesuccess
What do you mean by “share the webhook”? a screenshot? webhook URL?
The website is using an Israeli clearing company with a WC plugin. It’s called Cardcom.
While investigating the site’s System Status Report (SSR), it appears that the CardCom Payment Gateway: by CardCom LTD – 3.4.7.9 is indeed activated.
2023-01-13T06:39:14+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function my_woocommerce_webhook_payload(), 1 passed in /home/buttoaca/students1.buttoacademy.co.il/wp-includes/class-wp-hook.php on line 310 and exactly 4 expected in /home/buttoaca/students1.buttoacademy.co.il/wp-content/themes/astra-child/functions.php:447
Furthermore, it appears that the error log points to the currently active Astra theme.
Feel free to get in touch with their support channel(s), as they would be in a better position to assist you. From what I gather, they can be reached via the links below:
I trust that points you in the right direction, but if you have more questions, let us know. We’re happy to help.
Thank you,
I don’t think it’s an Astra issue, since I have other websites using it, without this issue.
Also, the webhook is fired twice only on 2< installments orders.If it’s not an Astra issue, would you recommend checking with CardCom Gateway? Even though, that previous checks show they return only 1 call to WC on any order.
Hi @sitesuccess
The error log points to the custom function
my_woocommerce_webhook_payload()
that is located on your theme’sfunctions.php
.Since custom coding is outside our scope of support, I am leaving this thread open for a bit to see if anyone can chime in to help you out.
For questions related to development and custom coding, your best bet is to ask on any of these channels for support. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, too.
- WooCommerce Developer Resources Portal
- WooCommerce Advanced Facebook group
- WooCommerce Community Forum
- WooCommerce Developer Slack Channel
- Hire a WooCommerce Expert
Hope this helps!
- The topic ‘Webhook fires twice’ is closed to new replies.