webhook error is a 4XX code
-
Hi, I am using stripe and I always get this error
It is a 4XX code (this is evt_1Hc66eB1jpIBz6epmnUPPCI8).
Is there any way me to upload a screenshot of the error?
ThanksThe page I need help with: [log in to see the link]
-
Hi @martaja – Stripe labels a 4xx error code as:
error status codes indicate an error because of the information provided (e.g., a required parameter was omitted)
Can you send us a copy of your site’s system status report? You can find that at:
WP Dashboard > WooCommerce > Status > 'Get system report'
Additionally, you can send us a screenshot using: https://snipboard.io
Thanks!
– JoeyHi, thanks for your reply.
A screenshot of the error:
https://snipboard.io/k5Usvo.jpgAnd Stripe support said:
” I was able to notice the error code for every webhook that is failing in this occasion is a 4XX code (this is evt_1Hc66eB1jpIBz6epmnUPPCI8).4XX codes mean that there is some error in the script’s code or your server. In this situation the best thing to do would be to have your developer (or you) inspect the code in order to find the error, or to contact WooCommerce since they generated the code, therefore they are more aware of how can it fail and the possible solutions.”This is the Report of the Woocommerce:
### WordPress Environment ###
WordPress address (URL): https://www.totemocional.com
Site address (URL): https://www.totemocional.com
WC Version: 4.6.0
REST API Version: ✔ 4.6.0
WC Blocks Version: ✔ 3.4.0
Action Scheduler Version: ✔ 3.1.6
WC Admin Version: ✔ 1.6.1
Log Directory Writable: ✔
WP Version: 5.5.1
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
WP Cron: –
Language: es_ES
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.0.33 – Recomendamos usar la versión 7.2 o superior de PHP para un mayor rendimiento y seguridad. Cómo actualizar tu versión de PHP
PHP Post Max Size: 130 MB
PHP Time Limit: 300
PHP Max Input Vars: 16000
cURL Version: 7.38.0
OpenSSL/1.0.1tSUHOSIN Installed: –
MySQL Version: 5.6.48-log
Max Upload Size: 128 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔### Database ###
WC Database Version: 4.4.1
WC Database Prefix: wp_
Tamaño total de la base de datos: 44.79MB
Tamaño de los datos de la base de datos: 38.87MB
Tamaño del índice de la base de datos: 5.92MB
wp_woocommerce_sessions: Datos: 1.52MB + Índice: 0.02MB + Motor InnoDB
wp_woocommerce_api_keys: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_woocommerce_attribute_taxonomies: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_woocommerce_downloadable_product_permissions: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
wp_woocommerce_order_items: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_woocommerce_order_itemmeta: Datos: 0.08MB + Índice: 0.09MB + Motor InnoDB
wp_woocommerce_tax_rates: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
wp_woocommerce_tax_rate_locations: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_woocommerce_shipping_zones: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_woocommerce_shipping_zone_locations: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_woocommerce_shipping_zone_methods: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_woocommerce_payment_tokens: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_woocommerce_payment_tokenmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_woocommerce_log: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_actionscheduler_actions: Datos: 0.09MB + Índice: 0.11MB + Motor InnoDB
wp_actionscheduler_claims: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_actionscheduler_groups: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_actionscheduler_logs: Datos: 0.08MB + Índice: 0.03MB + Motor InnoDB
wp_commentmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_comments: Datos: 0.06MB + Índice: 0.09MB + Motor InnoDB
wp_duplicator_packages: Datos: 0.03MB + Índice: 0.02MB + Motor InnoDB
wp_iconpresslite_collections: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_iconpresslite_icons: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_irecommendthis_votes: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_learnpress_order_itemmeta: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_learnpress_order_items: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_learnpress_question_answermeta: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_learnpress_question_answers: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_learnpress_quiz_questions: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_learnpress_review_logs: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_learnpress_sections: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_learnpress_section_items: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_learnpress_sessions: Datos: 1.50MB + Índice: 0.20MB + Motor InnoDB
wp_learnpress_user_itemmeta: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_learnpress_user_items: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_links: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_mailchimp_carts: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_mailchimp_jobs: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_options: Datos: 5.02MB + Índice: 0.22MB + Motor InnoDB
wp_pmpro_discount_codes: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
wp_pmpro_discount_codes_levels: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_pmpro_discount_codes_uses: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_pmpro_memberships_categories: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_pmpro_memberships_pages: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_pmpro_memberships_users: Datos: 0.02MB + Índice: 0.09MB + Motor InnoDB
wp_pmpro_membership_levelmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_pmpro_membership_levels: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
wp_pmpro_membership_orders: Datos: 0.02MB + Índice: 0.20MB + Motor InnoDB
wp_postmeta: Datos: 19.34MB + Índice: 1.73MB + Motor InnoDB
wp_posts: Datos: 7.45MB + Índice: 0.44MB + Motor InnoDB
wp_redirection_404: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
wp_redirection_groups: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_redirection_items: Datos: 0.02MB + Índice: 0.09MB + Motor InnoDB
wp_redirection_logs: Datos: 0.02MB + Índice: 0.08MB + Motor InnoDB
wp_termmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_terms: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_term_relationships: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_term_taxonomy: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_top_ten: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_top_ten_daily: Datos: 0.25MB + Índice: 0.00MB + Motor InnoDB
wp_tutor_earnings: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_tutor_quiz_attempts: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_tutor_quiz_attempt_answers: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_tutor_quiz_questions: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_tutor_quiz_question_answers: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_tutor_withdraws: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_usermeta: Datos: 0.11MB + Índice: 0.09MB + Motor InnoDB
wp_users: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
wp_wc_admin_notes: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_wc_admin_note_actions: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_wc_category_lookup: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_wc_customer_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_wc_download_log: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_wc_order_coupon_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_wc_order_product_lookup: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
wp_wc_order_stats: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
wp_wc_order_tax_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_wc_product_meta_lookup: Datos: 0.02MB + Índice: 0.09MB + Motor InnoDB
wp_wc_reserved_stock: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_wc_tax_rate_classes: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_wc_webhooks: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_wpforms_tasks_meta: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
wp_yoast_indexable: Datos: 0.36MB + Índice: 0.34MB + Motor InnoDB
wp_yoast_indexable_hierarchy: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
wp_yoast_migrations: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
wp_yoast_primary_term: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
wp_yoast_seo_links: Datos: 1.52MB + Índice: 0.72MB + Motor InnoDB### Post Type Counts ###
attachment: 622
customize_changeset: 16
dflip: 3
elementor_library: 58
erforms: 1
erforms_submission: 17
jet-popup: 3
lp_course: 16
lp_lesson: 719
lp_order: 8
lp_question: 118
lp_quiz: 60
mc4wp-form: 1
nav_menu_item: 36
oembed_cache: 67
page: 58
post: 8
product: 27
product_variation: 15
revision: 446
shop_order: 63
wpforms: 1### Security ###
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔### Active Plugins (50) ###
3D FlipBook : Dflip Lite: por DearHive – 1.7.3.8
Child Theme Configurator: por Lilaea Media – 2.5.6
Coming Soon Page, Under Construction & Maintenance Mode by SeedProd: por SeedProd – 5.1.3
Join.chat: por Creame – 4.0.10
Customizer Export/Import: por The Beaver Builder Team – 0.9.2
Duplicar página: por mndpsingh287 – 4.3
Duplicator: por Snap Creek – 1.3.38
Easy Registration Forms: por EasyRegistrationForms – 2.0.8
Elementor: por Elementor.com – 3.0.11
Essential Addons for Elementor – Pro: por WPDeveloper – 4.2.0 – Versión instalada no está probada con la versión activa de WooCommerce 4.6.0
Essential Addons for Elementor: por WPDeveloper – 4.3.1 – Versión instalada no está probada con la versión activa de WooCommerce 4.6.0
Facebook for WooCommerce: por Facebook – 2.0.5 – Versión instalada no está probada con la versión activa de WooCommerce 4.6.0
Yo recomiendo Esto: por Harish Chouhan
Themeist – 3.8.3IconPress Lite: por IconPress team – 1.4.9
Social Feed Gallery: por QuadLayers – 3.0.4
JetDesignKit: por Zemez – 1.0.3
JetElements For Elementor: por Crocoblock – 2.2.17
JetPopup: por Crocoblock – 1.4.0
Google Ads & Marketing by Kliken: por Kliken – 1.0.5 – Versión instalada no está probada con la versión activa de WooCommerce 4.6.0
LearnPress – Paid Membership Pro Integration: por ThimPress – 3.1.15
LearnPress – Stripe Payment: por ThimPress – 3.0.0
LearnPress: por ThimPress – 3.2.7.9
Loco Translate: por Tim Whitlock – 2.4.3
One Click Demo Import: por ProteusThemes – 2.6.1
Page Title Splitter: por Chris Steman – 2.0.8
Paid Memberships Pro: por Stranger Studios – 2.4.4
PDF Embedder: por Lever Technology LLC – 4.6.1
Pixelwars Core: por Pixelwars – 1.2.4
PMPro Customizations: por Paid Memberships Pro – .1
Paid Memberships Pro – WooCommerce Add On: por Paid Memberships Pro – 1.7 – Versión instalada no está probada con la versión activa de WooCommerce 4.6.0
Post Types Order: por Código Nsp – 1.9.5.2
Really Simple SSL: por Really Simple Plugins – 3.3.5
Redirection: por John Godley – 4.8
Regenerate Thumbnails: por Alex Mills (Viper007Bond) – 3.1.3
Selection Sharer: por J.C. van Gent – 0.4
Top 10: por Ajay D’Souza – 2.9.5
GDPR Cookie Consent Banner: por termly – 2.3.15
UpdraftPlus – Backup/Restore: por UpdraftPlus.Com
DavidAnderson – 1.16.30Velvet Blues Update URLs: por VelvetBlues.com – 3.2.9
WooCommerce PayPal Checkout Gateway: por WooCommerce – 2.1.0 – Versión instalada no está probada con la versión activa de WooCommerce 4.6.0
WooCommerce Global Payments HPP: por SkyVerge – 2.2.1 – Versión instalada no está probada con la versión activa de WooCommerce 4.6.0
WooCommerce Stripe Gateway: por WooCommerce – 4.5.3 – Versión instalada no está probada con la versión activa de WooCommerce 4.6.0
WooCommerce Pay for Payment: por Karolína Vyskočilová – 2.0.16 – Versión instalada no está probada con la versión activa de WooCommerce 4.6.0
WooCommerce: por Automattic – 4.6.0
WordPress Importer: por wordpressdotorg – 0.7
Yoast SEO: por Equipo Yoast – 15.1
WP Bouncer: por strangerstudios
Andrew Norcross – 1.4.1WP Maximum Execution Time Exceeded: por Johnnie J. O’Dell Jr. – 1.0.2
WPForms Lite: por WPForms – 1.6.2.3
WPFront Scroll Top: por Syam Mohan – 2.0.2### Inactive Plugins (8) ###
Akismet Anti-Spam: por Automattic – 4.1.6
Hello Dolly: por Matt Mullenweg – 1.7.2
LearnPress – WooCommerce Payment Methods Integration: por ThimPress – 3.1.0 – Versión instalada no está probada con la versión activa de WooCommerce 4.6.0
Mailchimp for WooCommerce: por Mailchimp – 2.4.7 – Versión instalada no está probada con la versión activa de WooCommerce 4.6.0
MC4WP: Mailchimp for WordPress: por ibericode – 4.8.1
Tutor LMS: por Themeum – 1.7.1
W3 Total Cache: por BoldGrid – 0.15.1
WP Social Chat: por QuadLayers – 4.7.0### 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 ###
Base de la tienda: #7099 – /tienda/
Carrito: #7100 – /carrito/
Finalizar compra: #7101 – /finalizar-compra/
Mi cuenta: ❌ La visibilidad de la página debe ser pública
Términos y condiciones: #7243 – /terminos-y-condiciones/### Theme ###
Name: Tot Emocional
Version: 6.0.2.1597014034
Author URL: https://themeforest.net/user/pixelwars
Child Theme: ✔
Parent Theme Name: Efor
Parent Theme Version: 6.0.2
Parent Theme Author URL: https://themeforest.net/user/pixelwars
WooCommerce Support: ✔### Templates ###
Overrides: efor/woocommerce/archive-product.php
efor/woocommerce/content-product.php
efor/woocommerce/content-product_cat.php
efor/woocommerce/content-single-product.php
efor/woocommerce/global/wrapper-end.php
efor/woocommerce/global/wrapper-start.php
efor/woocommerce/loop/loop-end.php
efor/woocommerce/loop/loop-start.php
efor/woocommerce/loop/pagination.php
efor/woocommerce/single-product.php### Action Scheduler ###
Completo: 224
Oldest: 2020-09-23 12:51:37 +0000
Newest: 2020-10-20 11:27:41 +0000Pendiente: 1
Oldest: 2020-10-21 03:12:02 +0000
Newest: 2020-10-21 03:12:02 +0000`
Hi @martaja ,
Thanks for that Status Report! I see two things in there that stand out for me:
PHP Version: 7.0.33: WooCommerce requires a minimum PHP version of 7.2 or greater. You will want to update your PHP version.
WC Version: 4.6.0 / WC Database Version: 4.4.1: Those two versions should match, and this is an indication that your database is out of date. You should see a database update notice that you’ll need to click to bring the WooCommerce database up to the current version. This page has more details about those database update notices.
Let us know if that doesn’t correct these errors!
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
- The topic ‘webhook error is a 4XX code’ is closed to new replies.