invalid_request_error | WordPress.org

[ad_1]

Hey there, @kubajuncewicz! Thanks for contacting us. I’m happy to help you.

Can you share more information about the issue so we can assist you further?

When exactly do you get this error message?

Do you have custom code you your website?

Furthermore, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
Fatal error logs (if any) under WooCommerce > Status > Logs.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

Looking forward to your reply.

Have a wonderful day!

`
### WordPress Environment ###

WordPress address (URL): https://scalpglide.com
Site address (URL): https://scalpglide.com
WC Version: 8.4.0
REST API Version: ✔ 8.4.0
WC Blocks Version: ✔ 11.6.2
Action Scheduler Version: ✔ 3.7.1
Log Directory Writable: ✔
WP Version: 6.4.2
WP Multisite: –
WP Memory Limit: 2 GB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: –

### Server Environment ###

Server Info: nginx/1.24.0
PHP Version: 8.1.21
PHP Post Max Size: 50 MB
PHP Time Limit: 1800
PHP Max Input Vars: 1000
cURL Version: 7.74.0
OpenSSL/1.1.1o

SUHOSIN Installed: –
MySQL Version: 8.0.32
Max Upload Size: 50 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Database ###

WC Database Version: 8.4.0
WC Database Prefix: sg_
Total Database Size: 17.21MB
Database Data Size: 12.29MB
Database Index Size: 4.92MB
sg_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
sg_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_woocommerce_order_itemmeta: Data: 0.11MB + Index: 0.03MB + Engine InnoDB
sg_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
sg_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_actionscheduler_actions: Data: 0.13MB + Index: 0.11MB + Engine InnoDB
sg_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_actionscheduler_logs: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
sg_bwf_ab_experiments: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_bwf_action_claim: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_bwf_actions: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
sg_bwf_contact: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
sg_bwf_contact_fields: Data: 0.02MB + Index: 0.22MB + Engine InnoDB
sg_bwf_contact_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_bwf_conversion_tracking: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
sg_bwf_funnelmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_bwf_funnels: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_bwf_optin_entries: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_bwf_options: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_bwf_wc_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_bwfan_abandonedcarts: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
sg_bwfan_automation_complete_contact: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
sg_bwfan_automation_contact: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
sg_bwfan_automation_contact_claim: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_bwfan_automation_contact_trail: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
sg_bwfan_automation_step: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_bwfan_automationmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_bwfan_automations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_bwfan_broadcast: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_bwfan_bulk_action: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_bwfan_contact_note: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_bwfan_conversions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
sg_bwfan_engagement_tracking: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
sg_bwfan_engagement_trackingmeta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_bwfan_field_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_bwfan_fields: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
sg_bwfan_form_feeds: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_bwfan_import_export: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_bwfan_link_triggers: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
sg_bwfan_message: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_bwfan_message_unsubscribe: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
sg_bwfan_templates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
sg_bwfan_terms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_commentmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
sg_comments: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
sg_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
sg_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_options: Data: 5.05MB + Index: 0.08MB + Engine InnoDB
sg_postmeta: Data: 4.13MB + Index: 0.55MB + Engine InnoDB
sg_posts: Data: 0.28MB + Index: 0.06MB + Engine InnoDB
sg_pys_stat_landing: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_pys_stat_order: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_pys_stat_product_order: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_pys_stat_traffic: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_pys_stat_utm_campaing: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_pys_stat_utm_content: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_pys_stat_utm_medium: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_pys_stat_utm_source: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_pys_stat_utm_term: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
sg_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
sg_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
sg_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
sg_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
sg_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
sg_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
sg_wc_orders_meta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
sg_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
sg_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_wdr_order_item_discounts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
sg_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_wfacp_stats: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
sg_wfco_connectormeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_wfco_connectors: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_wfco_report_views: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
sg_wfob_stats: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
sg_wfocu_event: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
sg_wfocu_event_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_wfocu_session: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_wpforms_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_wpforms_entry_fields: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
sg_wpforms_entry_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
sg_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
sg_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB
sg_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_wpmailsmtp_emails_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
sg_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
sg_wpr_rocket_cache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
sg_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB

### Post Type Counts ###

acf-field: 111
acf-field-group: 13
acf-ui-options-page: 3
attachment: 98
ct_template: 2
customize_changeset: 6
nav_menu_item: 11
page: 13
post: 1
product: 1
revision: 35
shop_coupon: 2
shop_order_placehold: 22
wp_navigation: 1
wp_template: 2
wpforms: 2

### Security ###

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

### Active Plugins (19) ###

Advanced Custom Fields PRO: by WP Engine – 6.2.4
FunnelKit Cart for WooCommerce: by FunnelKit – 1.4.0
Advanced Scripts: by Clean Plugins – 2.5.2
Imagify: by Imagify – Optimize Images & Convert WebP – 2.1.3.1
Kadence WooCommerce Email Designer: by Kadence WP – 1.5.12
Oxygen Elements for WooCommerce: by Soflyy – 2.0
Oxygen: by Soflyy – 4.7.1
PixelYourSite PRO: by PixelYourSite – 9.11.1.2
Rank Math SEO: by Rank Math – 1.0.210
SVG Support: by Benbodhi – 2.5.5
Woo Discount Rules: by Flycart – 2.6.2
WooCommerce Stripe Gateway: by WooCommerce – 7.9.0
WooCommerce Photo Reviews Premium: by VillaTheme – 1.3.11
WooCommerce: by Automattic – 8.4.0
WP Mail SMTP Pro: by WP Mail SMTP – 3.11.0
FunnelKit Automations Pro: by FunnelKit – 2.7.0
FunnelKit Automations: by FunnelKit – 2.7.2
WP Rocket: by WP Media – 3.15.7
WPForms: by WPForms – 1.8.5.2

### Inactive Plugins (2) ###

FunnelKit Funnel Builder: by FunnelKit – 2.17.0
FunnelKit Funnel Builder Pro: by FunnelKit – 2.15.0

### Dropin Plugins (1) ###

advanced-cache.php: advanced-cache.php

### 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 Woo.com: –
Enforce Approved Product Download Directories: ✔
HPOS feature screen enabled: ✔
HPOS feature enabled: ✔
Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
HPOS data sync enabled: –

### WC Pages ###

Shop base: #11 - /shop/
Cart: #12 - /cart/
Checkout: #13 - /checkout/
My account: #14 - /my-account/
Terms and conditions: ❌ Page not set

### Theme ###

Name: Intentionally Blank
Version: 3.0.3
Author URL: https://www.nilovelez.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: /www/wwwroot/scalpglide.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/error.php
/www/wwwroot/scalpglide.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/notice.php
/www/wwwroot/scalpglide.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/success.php


### Admin ###

Enabled Features: activity-panels
analytics
product-block-editor
coupons
core-profiler
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
product-variation-management
product-virtual-downloadable
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: customize-store
minified-js
new-product-management-experience
product-external-affiliate
settings
async-product-editor-category-field

Daily Cron: ✔ Next scheduled: 2024-01-15 11:03:39 +00:00
Options: ✔
Notes: 72
Onboarding: skipped

### Action Scheduler ###

Complete: 258
Oldest: 2023-12-14 17:22:40 +0000
Newest: 2024-01-14 16:50:50 +0000

Failed: 4
Oldest: 2023-12-11 11:26:12 +0000
Newest: 2024-01-08 13:16:17 +0000

Pending: 9
Oldest: 2024-01-15 03:13:20 +0000
Newest: 2024-01-16 23:08:33 +0000


### Status report information ###

Generated at: 2024-01-14 16:51:03 +00:00
`

It happens while I’m placing order.

Even at page load there are error notifiactions. Site is scalpglide.com

I’m using blocks, and we don’t have any customized elements on checkout. Form talk with Stripe:

(04:14:42 PM) Ashley: Based on the details of the error, it seems like WooCommerce used the parameter statement_descriptor for a PaymentIntent using a payment_method_types is card which Stripe no longer supports.
(04:14:58 PM) Ashley: For these requests, please use the statement_descriptor_suffix instead.

Hi there @kubajuncewic,

Thanks for sharing the system status report with us.

I believe that this issue is caused due to a plugin/theme conflict,

Can you please do the following steps to rule out the conflict:

  1. Switch the theme to the default Storefront theme and check if the issue persists, if resolved then you will have to request your theme author for a fix, if the issue persists then go to next step.
  2. Deactivate all the plugins except for WooCommerce and WooCommerce stripe, check if the issue persists.
  3. Activate each plugin one by one while testing for the issue, once you find the plugin that is causing the issue, please keep it deactivated and let me know.

Looking forward to hearing from you.

Hi, I don’t see a point of doing so, as it’s clearly a plugin problem itself. As error log says also:

====End Log====


2024-01-14T15:58:20+00:00 DEBUG 
====Stripe Version: 7.9.0====
====Start Log====
Error: stdClass Object
(
    [error] => stdClass Object
        (
            [message] => The statement_descriptor parameter is not supported for the payment_method_type card. To continue supporting payment_method_type card, please pass in statement_descriptor_suffix or remove the statement_descriptor parameter altogether. Please see https://support.stripe.com/questions/use-of-the-statement-descriptor-parameter-on-paymentintents-for-card-charges for additional details.
            [request_log_url] => https://dashboard.stripe.com/logs/req_gdz6WfhJprl9dT?t=1705247900
            [type] => invalid_request_error
        )

)

====End Log====

Also, if you would take a second of your time to read messages you would see what stripe support said:

(04:14:42 PM) Ashley: Based on the details of the error, it seems like WooCommerce used the parameter statement_descriptor for a PaymentIntent using a payment_method_types is card which Stripe no longer supports.

“Stripe support”

I installed another Stripe dedicated plugin and it worked – your plugin is the issue.

Hi there @kubajuncewicz 👋

Thank you for reaching back, with further details on this.

Internally, I can see that our devs are investigating the issue and one thing that would help is replication steps.

Any chance you could help out with that, or better yet, if a backup was kept before installing another plugin, perhaps?
 
However, we’re also checking on our side about this, and we’ll update you once we have replicated the problem.

Thank you.

Hi there @kubajuncewicz 👋

Just wanted to share an update, as promised.

A bug report has been submitted on GitHub. Consider subscribing to it, should you need to receive updates on its progress.

I’ll go ahead with marking this thread as resolved now. Feel free to create a new one, should you need assistance with anything else.

Have a great one!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer