[INVALID_REQUEST] Request is not well-formed
-
I am facing this error on checkout page,
[INVALID_REQUEST] Request is not well-formed, syntactically incorrect, or violates schema. https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTHAny solutions?
system report
### WordPress Environment ### WordPress address (URL): https://store.rocketdevhost.xyz Site address (URL): https://store.rocketdevhost.xyz WC Version: 6.0.0 REST API Version: ✔ 6.0.0 WC Blocks Version: ✔ 6.3.3 Action Scheduler Version: ✔ 3.3.0 WC Admin Version: ✔ 2.9.4 Log Directory Writable: ✔ WP Version: 5.8.2 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ✔ Language: zh_TW External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.25 PHP Post Max Size: 200 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.79.1 OpenSSL/1.1.1l SUHOSIN Installed: – MySQL Version: 5.7.36 Max Upload Size: 200 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 6.0.0 WC Database Prefix: wpnm_ 總資料庫大小: 10.96MB 資料庫資料大小: 8.86MB 資料庫索引大小: 2.10MB wpnm_woocommerce_sessions: 資料:0.05MB + 索引:0.02MB + 引擎 InnoDB wpnm_woocommerce_api_keys: 資料:0.02MB + 索引:0.03MB + 引擎 InnoDB wpnm_woocommerce_attribute_taxonomies: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_woocommerce_downloadable_product_permissions: 資料:0.02MB + 索引:0.06MB + 引擎 InnoDB wpnm_woocommerce_order_items: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_woocommerce_order_itemmeta: 資料:0.05MB + 索引:0.03MB + 引擎 InnoDB wpnm_woocommerce_tax_rates: 資料:0.02MB + 索引:0.06MB + 引擎 InnoDB wpnm_woocommerce_tax_rate_locations: 資料:0.02MB + 索引:0.03MB + 引擎 InnoDB wpnm_woocommerce_shipping_zones: 資料:0.02MB + 索引:0.00MB + 引擎 InnoDB wpnm_woocommerce_shipping_zone_locations: 資料:0.02MB + 索引:0.03MB + 引擎 InnoDB wpnm_woocommerce_shipping_zone_methods: 資料:0.02MB + 索引:0.00MB + 引擎 InnoDB wpnm_woocommerce_payment_tokens: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_woocommerce_payment_tokenmeta: 資料:0.02MB + 索引:0.03MB + 引擎 InnoDB wpnm_woocommerce_log: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_actionscheduler_actions: 資料:0.16MB + 索引:0.22MB + 引擎 InnoDB wpnm_actionscheduler_claims: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_actionscheduler_groups: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_actionscheduler_logs: 資料:0.06MB + 索引:0.03MB + 引擎 InnoDB wpnm_check_email_log: 資料:0.02MB + 索引:0.00MB + 引擎 InnoDB wpnm_commentmeta: 資料:0.02MB + 索引:0.03MB + 引擎 InnoDB wpnm_comments: 資料:0.02MB + 索引:0.09MB + 引擎 InnoDB wpnm_links: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_options: 資料:4.05MB + 索引:0.17MB + 引擎 InnoDB wpnm_postmeta: 資料:0.34MB + 索引:0.36MB + 引擎 InnoDB wpnm_posts: 資料:3.16MB + 索引:0.06MB + 引擎 InnoDB wpnm_termmeta: 資料:0.02MB + 索引:0.03MB + 引擎 InnoDB wpnm_terms: 資料:0.02MB + 索引:0.03MB + 引擎 InnoDB wpnm_term_relationships: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_term_taxonomy: 資料:0.02MB + 索引:0.03MB + 引擎 InnoDB wpnm_um_metadata: 資料:0.02MB + 索引:0.05MB + 引擎 InnoDB wpnm_usermeta: 資料:0.06MB + 索引:0.03MB + 引擎 InnoDB wpnm_users: 資料:0.02MB + 索引:0.05MB + 引擎 InnoDB wpnm_wcpdf_invoice_number: 資料:0.02MB + 索引:0.00MB + 引擎 InnoDB wpnm_wcs_payment_retries: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_wc_admin_notes: 資料:0.05MB + 索引:0.00MB + 引擎 InnoDB wpnm_wc_admin_note_actions: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_wc_category_lookup: 資料:0.02MB + 索引:0.00MB + 引擎 InnoDB wpnm_wc_customer_lookup: 資料:0.02MB + 索引:0.03MB + 引擎 InnoDB wpnm_wc_download_log: 資料:0.02MB + 索引:0.03MB + 引擎 InnoDB wpnm_wc_order_coupon_lookup: 資料:0.02MB + 索引:0.03MB + 引擎 InnoDB wpnm_wc_order_product_lookup: 資料:0.02MB + 索引:0.06MB + 引擎 InnoDB wpnm_wc_order_stats: 資料:0.02MB + 索引:0.05MB + 引擎 InnoDB wpnm_wc_order_tax_lookup: 資料:0.02MB + 索引:0.03MB + 引擎 InnoDB wpnm_wc_product_meta_lookup: 資料:0.02MB + 索引:0.09MB + 引擎 InnoDB wpnm_wc_rate_limits: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_wc_reserved_stock: 資料:0.02MB + 索引:0.00MB + 引擎 InnoDB wpnm_wc_tax_rate_classes: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_wc_webhooks: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_woo_wallet_transactions: 資料:0.02MB + 索引:0.02MB + 引擎 InnoDB wpnm_woo_wallet_transaction_meta: 資料:0.02MB + 索引:0.03MB + 引擎 InnoDB wpnm_wpforms_tasks_meta: 資料:0.02MB + 索引:0.00MB + 引擎 InnoDB wpnm_wpmailsmtp_debug_events: 資料:0.02MB + 索引:0.00MB + 引擎 InnoDB wpnm_wpmailsmtp_tasks_meta: 資料:0.02MB + 索引:0.00MB + 引擎 InnoDB ### Post Type Counts ### attachment: 29 custom_css: 2 customize_changeset: 17 nav_menu_item: 8 page: 21 pewc_field: 11 pewc_group: 2 pewc_product_extra: 1 post: 8 product: 96 product_variation: 107 revision: 54 shop_coupon: 4 shop_order: 22 um_directory: 1 um_form: 3 wp_block: 4 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (17) ### Blocksy Companion (Premium): 由 CreativeThemes – 1.8.9.8 Check & Log Email: 由 WPChill – 1.0.4 Jetpack: 由 Automattic 公司 – 10.4 Pending Payment Reminder for WooCommerce: 由 Finpose – 1.0.1 WooCommerce Product Add-Ons Ultimate: 由 Plugin Republic – 3.8.8 Stackable - Gutenberg Blocks: 由 Gambit Technologies Inc – 3.1.0 Ultimate Member: 由 Ultimate Member – 2.3.0 Checkout Field Editor for WooCommerce: 由 ThemeHigh – 1.5.1 Extra Product Options (Product Addons) for WooCommerce: 由 ThemeHigh – 3.0.9 WooCommerce All Products For Subscriptions: 由 SomewhereWarm – 3.1.28 Woocommerce Login / Sign-up Lite: 由 phoeniixx – 4.0 WooCommerce PayPal Payments: 由 WooCommerce – 1.6.4 WooCommerce PDF Invoices & Packing Slips: 由 Ewout Fernhout – 2.11.1 WooCommerce Subscriptions: 由 WooCommerce – 3.1.6 WooCommerce: 由 Automattic – 6.0.0 WP Mail SMTP: 由 WPForms – 3.2.1 WPForms Lite: 由 WPForms – 1.7.1.2 ### Inactive Plugins (3) ### Akismet Anti-Spam: 由 Automattic – 4.2.1 Blocksy Companion: 由 CreativeThemes – 1.8.16 Hello Dolly: 由 Matt Mullenweg – 1.7.2 ### Settings ### API Enabled: – Force SSL: – Currency: HKD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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 ### 商店起點: #6 - / 購物車: #510 - /cart/ 結帳: #614 - /checkout/ 我的帳號: #615 - /my-account/ 服務條款: ❌ 未設定頁面 ### Theme ### Name: Blocksy Child Version: (可更新為版本 0) Author URL: Child Theme: ✔ Parent Theme Name: Blocksy Parent Theme Version: 1.8.14 Parent Theme Author URL: https://creativethemes.com WooCommerce Support: ✔ ### Templates ### Overrides: blocksy/woocommerce/cart/cart.php blocksy/woocommerce/cart/mini-cart.php blocksy/woocommerce/checkout/form-checkout.php blocksy/woocommerce/content-widget-product.php blocksy/woocommerce/content-widget-reviews.php blocksy/woocommerce/myaccount/my-account.php blocksy/woocommerce/product-searchform.php blocksy/woocommerce/single-product/tabs/tabs.php ### 訂閱 ### WCS_DEBUG: ✔ 否 Subscriptions Mode: ✔ 即時 Subscriptions Live URL: https://store.rocketdevhost.xyz Subscription Statuses: – WooCommerce Account Connected: ❌ No Custom Retry Rules: ✔ No Custom Retry Rule Class: ✔ No Custom Raw Retry Rule: ✔ No Custom Retry Rule: ✔ No Retries Migration Status: ✔ Completed Report Cache Enabled: ✔ 是 Cache Update Failures: ✔ 0 失敗 ### 商店設定 ### Country / State: 香港 — 新界 ### 付款閘道支援 ### 銀行轉帳: products 支票付款: products PayPal: refunds ### All Products for WooCommerce Subscriptions ### Template Overrides: – ### WooCommerce PayPal Payments ### Onboarded: ✔ Shop country code: HK 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 ### 完成: 501 Oldest: 2021-12-14 13:43:29 +0000 Newest: 2021-12-31 07:37:34 +0000 Pending: 6 Oldest: 2021-12-31 07:41:36 +0000 Newest: 2022-01-05 13:39:38 +0000 ### Status report information ### Generated at: 2021-12-31 15:41:13 +08:00woocommerce-paypal-payments-log
2021-12-14T14:33:21+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/store.rocketdevhost.xyz\/wp-admin\/admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["PPCP"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"</code></pre> }]} Response Debug ID: 3fad3dbf7e584 Response: Array ( [code] => 201 [message] => Created ) 2021-12-14T14:36:12+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: 1e82d5e280f6d Response: Array ( [code] => 401 [message] => Unauthorized ) Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"} 2021-12-14T14:36:12+00:00 WARNING Could not create token. 2021-12-14T14:36:12+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: fe6fda585467a Response: Array ( [code] => 401 [message] => Unauthorized ) Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"} 2021-12-14T14:36:12+00:00 WARNING Could not create token. 2021-12-14T14:36:13+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/store.rocketdevhost.xyz\/wp-admin\/admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["PPCP"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]} Response Debug ID: ad29ff9a519df Response: Array ( [code] => 201 [message] => Created ) 2021-12-14T14:36:33+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: 69f5bc426715c Response: Array ( [code] => 401 [message] => Unauthorized ) Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"} 2021-12-14T14:36:33+00:00 WARNING Could not create token. 2021-12-14T14:36:33+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: f3db368a2cbab Response: Array ( [code] => 401 [message] => Unauthorized ) Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"} 2021-12-14T14:36:33+00:00 WARNING Could not create token. 2021-12-14T14:36:40+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: 6775c6d6d5cc4 Response: Array ( [code] => 401 [message] => Unauthorized ) Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"} 2021-12-14T14:36:40+00:00 WARNING Could not create token. 2021-12-14T14:36:42+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: 130877d4eaa45 Response: Array ( [code] => 401 [message] => Unauthorized ) Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"} 2021-12-14T14:36:42+00:00 WARNING Could not create token. 2021-12-14T14:36:42+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: b317eae3f014b Response: Array ( [code] => 401 [message] => Unauthorized ) Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"} 2021-12-14T14:36:42+00:00 WARNING Could not create token. 2021-12-14T14:36:43+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/store.rocketdevhost.xyz\/wp-admin\/admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["PPCP"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]} Response Debug ID: d19d25344d31c Response: Array ( [code] => 201 [message] => Created ) 2021-12-14T14:37:10+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: ba3f9118a0de4 Response: Array ( [code] => 401 [message] => Unauthorized ) Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"} 2021-12-14T14:37:10+00:00 WARNING Could not create token. 2021-12-14T14:37:10+00:00 ERROR Client ID retrieval failed: Could not create token. 2021-12-14T14:37:17+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: a57a01c858432 Response: Array ( [code] => 401 [message] => Unauthorized ) Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"} 2021-12-14T14:37:17+00:00 WARNING Could not create token. 2021-12-14T14:37:17+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: 1889de38b327a Response: Array ( [code] => 401 [message] => Unauthorized ) Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"} 2021-12-14T14:37:17+00:00 WARNING Could not create token. 2021-12-14T14:50:37+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: 5d271adfb2177 Response: Array ( [code] => 401 [message] => Unauthorized ) Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"} 2021-12-14T14:50:37+00:00 WARNING Could not create token. 2021-12-14T14:50:37+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: d730af7e7f50e Response: Array ( [code] => 401 [message] => Unauthorized ) Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"} 2021-12-14T14:50:37+00:00 WARNING Could not create token. 2021-12-14T14:50:38+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/store.rocketdevhost.xyz\/wp-admin\/admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]} Response Debug ID: 242f8f17b0cd8 Response: Array ( [code] => 201 [message] => Created )
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘[INVALID_REQUEST] Request is not well-formed’ is closed to new replies.