• Resolved ammar7347

    (@ammar7347)


    Hello,

    I am trying to create a webhook and I have the latest version of Woocommerce and WordPress but I keep on getting the 400 error when trying to enable the webhook. I want to push the updates to my discord channel. Any help would be highly appreciated. Here is the additional information:

    
    Website: https://thenoobstribe.ga/
    System status report:
    ### WordPress Environment ###
    
    Home URL: https://thenoobstribe.ga
    Site URL: https://thenoobstribe.ga
    WC Version: 3.4.5
    Log Directory Writable: ?
    WP Version: 4.9.8
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: nginx/1.12.2
    PHP Version: 7.1.20-1+0~20180725103117.2+jessie~1.gbpd5b650 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.38.0
    OpenSSL/1.0.1t
    
    SUHOSIN Installed: –
    MySQL Version: ? 5.5.60-0+deb8u1 - We recommend a minimum MySQL version of 5.6. See: WordPress requirements
    Max Upload Size: 2 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.4.5
    WC Database Prefix: wp_tnt
    MaxMind GeoIP Database: ?
    Total Database Size: 14.73MB
    Database Data Size: 14.15MB
    Database Index Size: 0.58MB
    wp_tntwoocommerce_sessions: Data: 0.10MB + Index: 0.01MB
    wp_tntwoocommerce_api_keys: Data: 0.00MB + Index: 0.01MB
    wp_tntwoocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wp_tntwoocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp_tntwoocommerce_order_items: Data: 0.00MB + Index: 0.00MB
    wp_tntwoocommerce_order_itemmeta: Data: 0.00MB + Index: 0.01MB
    wp_tntwoocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    wp_tntwoocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_tntwoocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp_tntwoocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
    wp_tntwoocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wp_tntwoocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wp_tntwoocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    wp_tntwoocommerce_log: Data: 0.00MB + Index: 0.00MB
    wp_tntaelia_dismissed_messages: Data: 0.02MB + Index: 0.00MB
    wp_tntcommentmeta: Data: 0.00MB + Index: 0.00MB
    wp_tntcomments: Data: 0.00MB + Index: 0.01MB
    wp_tntedd_customermeta: Data: 0.02MB + Index: 0.03MB
    wp_tntedd_customers: Data: 0.02MB + Index: 0.03MB
    wp_tntiqblock_debug_logging: Data: 11.52MB + Index: 0.00MB
    wp_tntiqblock_logging: Data: 0.02MB + Index: 0.02MB
    wp_tntlinks: Data: 0.00MB + Index: 0.00MB
    wp_tntloginizer_logs: Data: 0.00MB + Index: 0.01MB
    wp_tntnf3_actions: Data: 0.00MB + Index: 0.00MB
    wp_tntnf3_action_meta: Data: 0.01MB + Index: 0.00MB
    wp_tntnf3_chunks: Data: 0.02MB + Index: 0.00MB
    wp_tntnf3_fields: Data: 0.00MB + Index: 0.00MB
    wp_tntnf3_field_meta: Data: 0.70MB + Index: 0.13MB
    wp_tntnf3_forms: Data: 0.00MB + Index: 0.00MB
    wp_tntnf3_form_meta: Data: 0.01MB + Index: 0.00MB
    wp_tntnf3_objects: Data: 0.00MB + Index: 0.00MB
    wp_tntnf3_object_meta: Data: 0.00MB + Index: 0.00MB
    wp_tntnf3_relationships: Data: 0.00MB + Index: 0.00MB
    wp_tntnf3_upgrades: Data: 0.02MB + Index: 0.00MB
    wp_tntoptions: Data: 1.06MB + Index: 0.08MB
    wp_tntparticipants_database: Data: 0.00MB + Index: 0.00MB
    wp_tntparticipants_database_fields: Data: 0.00MB + Index: 0.00MB
    wp_tntparticipants_database_groups: Data: 0.00MB + Index: 0.00MB
    wp_tntpostmeta: Data: 0.21MB + Index: 0.09MB
    wp_tntposts: Data: 0.32MB + Index: 0.04MB
    wp_tntskrill_transaction_log: Data: 0.02MB + Index: 0.00MB
    wp_tnttermmeta: Data: 0.00MB + Index: 0.01MB
    wp_tntterms: Data: 0.00MB + Index: 0.01MB
    wp_tntterm_relationships: Data: 0.00MB + Index: 0.01MB
    wp_tntterm_taxonomy: Data: 0.00MB + Index: 0.00MB
    wp_tntusermeta: Data: 0.04MB + Index: 0.01MB
    wp_tntusers: Data: 0.00MB + Index: 0.01MB
    wp_tntwc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_tntwc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_tntwfBadLeechers: Data: 0.00MB + Index: 0.00MB
    wp_tntwfBlockedIPLog: Data: 0.00MB + Index: 0.00MB
    wp_tntwfBlocks: Data: 0.00MB + Index: 0.00MB
    wp_tntwfBlocksAdv: Data: 0.00MB + Index: 0.00MB
    wp_tntwfConfig: Data: 0.00MB + Index: 0.01MB
    wp_tntwfCrawlers: Data: 0.00MB + Index: 0.00MB
    wp_tntwfFileMods: Data: 0.00MB + Index: 0.00MB
    wp_tntwfHits: Data: 0.00MB + Index: 0.00MB
    wp_tntwfHoover: Data: 0.00MB + Index: 0.00MB
    wp_tntwfIssues: Data: 0.00MB + Index: 0.00MB
    wp_tntwfKnownFileList: Data: 0.00MB + Index: 0.00MB
    wp_tntwfLeechers: Data: 0.00MB + Index: 0.00MB
    wp_tntwfLockedOut: Data: 0.00MB + Index: 0.00MB
    wp_tntwfLocs: Data: 0.00MB + Index: 0.00MB
    wp_tntwfLogins: Data: 0.00MB + Index: 0.00MB
    wp_tntwfNet404s: Data: 0.00MB + Index: 0.00MB
    wp_tntwfReverseCache: Data: 0.00MB + Index: 0.00MB
    wp_tntwfScanners: Data: 0.00MB + Index: 0.00MB
    wp_tntwfSNIPCache: Data: 0.00MB + Index: 0.00MB
    wp_tntwfStatus: Data: 0.00MB + Index: 0.00MB
    wp_tntwfThrottleLog: Data: 0.00MB + Index: 0.00MB
    wp_tntwfVulnScanners: Data: 0.00MB + Index: 0.00MB
    wp_tntwpmm_subscribers: Data: 0.00MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 40
    forum: 6
    jetpack_migration: 2
    jp_img_sitemap: 2
    jp_sitemap: 2
    jp_sitemap_master: 2
    nav_menu_item: 19
    nf_sub: 2
    page: 14
    post: 3
    product: 10
    product_variation: 16
    revision: 132
    shop_coupon: 1
    shop_order: 3
    shop_order_refund: 2
    sp_calendar: 1
    sp_event: 6
    sp_list: 4
    sp_outcome: 2
    sp_performance: 3
    sp_player: 13
    sp_result: 2
    sp_staff: 1
    sp_statistic: 1
    sp_table: 1
    sp_team: 4
    topic: 2
    wpcf7_contact_form: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (19) ###
    
    Advanced Custom Fields: by Elliot Condon – 4.4.12
    All-in-One WP Migration: by ServMask – 6.75
    bbPress: by The bbPress Community – 2.5.14
    Cloudflare: by John Wineman
    Furkan Yilmaz
    Junade Ali (Cloudflare Team) – 3.3.2
    
    iQ Block Country: by Pascal – 1.2.0
    Jetpack by WordPress.com: by Automattic – 6.4.2
    Loginizer: by Raj Kothari – 1.4.0
    Ninja Forms: by The WP Ninjas – 3.3.15
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.0.2
    Server IP & Memory Usage Display: by Apasionados
    Apasionados del Marketing – 2.1.0
    
    Page Builder by SiteOrigin: by SiteOrigin – 2.8.2
    TinyMCE Advanced: by Andrew Ozz – 4.8.0
    WC Discord Invite: by Nicola Mustone – 1.0.0 – Not tested with the active version of WooCommerce
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.3
    WooCommerce Stripe Gateway: by WooCommerce – 4.1.9
    WooCommerce: by Automattic – 3.4.5
    WP Discord Post: by Nicola Mustone – 2.1.0
    WP Mail SMTP: by WPForms – 1.3.3
    WP Maintenance Mode: by Designmodo – 2.2.1
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: ?
    Currency: GBP (£)
    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)
    
    ### WC Pages ###
    
    Shop base: #56 - /shop/
    Basket: #57 - /cart/
    Checkout: #58 - /checkout/
    My account: #59 - /my-account/
    Terms and conditions: #108 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: Twenty Seventeen
    Version: 1.7
    Author URL: https://www.ads-software.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: –
    

    Regards

    Ammar

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello!
    From my knowledge, error 400 most of the time is a code error.
    You can try disabling other plugins(one by one) or change to any twenty* theme and see which is interfering with that code.

    Thread Starter ammar7347

    (@ammar7347)

    Hello,

    Thanks for your reply but I have already tried all that before posting but for the sake of troubleshooting I tried it again. I am using the Twenty Seventeen theme and I have tried with disabling plugins one but one until only one active plugin was left activated(woocommerce). Here’s the screenshot Image

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @ammar7347

    You’ll need to have code that transcribes the code from WooCommerce webhook into code that can be read by Discords webhook. Using Zapier will do the job for you:

    https://zapier.com/apps/discord/integrations/woocommerce

    Here is a link to purchase the Zapier extension to connect WooCommerce to Discord:

    https://woocommerce.com/products/woocommerce-zapier/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Discord Webhook’ is closed to new replies.