• Resolved heyooooh

    (@heyooooh)


    Hello !

    Since I upgraded to the latest woocommerce database, I can no longer add products to my shopping cart from my remote front-end. Before, everything was working fine, I haven’t changed a line of code, all my routes are still accepted in my wordpress configuration, everything is made to work as usual.

    I contacted CoCart plugin support and the person in charge of maintenance and future features told me that the problem most certainly stemmed from this famous update. So I wanted to know if you could help me solve the problem?

    On Postman, I’m able to use the route to add an item to my shopping cart, but on my front-end, I get a 403 error with the same configuration.

    I’ll be in touch if I need more info. Thanks for your help

    ` WordPress Environment
    
    WordPress address (URL): https://api.getdabagshop.com<br>Site address (URL): https://api.getdabagshop.com<br>WC Version: 8.3.0<br>REST API Version: ✔ 8.3.0<br>WC Blocks Version: ✔ 11.4.8<br>Action Scheduler Version: ✔ 3.6.4<br>Log Directory Writable: ✔<br>WP Version: 6.4.1<br>WP Multisite: –<br>WP Memory Limit: ❌ 40 MB - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP<br>WP Debug Mode: ✔<br>WP Cron: ✔<br>Language: en_US<br>External object cache: – Server Environment
    
    Server Info: Apache<br>PHP Version: 8.1.26<br>PHP Post Max Size: 64 MB<br>PHP Time Limit: 50000<br>PHP Max Input Vars: 5000<br>cURL Version: 7.74.0<br>OpenSSL/1.1.1w
    
    SUHOSIN Installed: –<br>MySQL Version: 8.0.32<br>Max Upload Size: 64 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database
    
    WC Database Version: 8.3.0<br>WC Database Prefix: wp_<br>Total Database Size: 7.10MB<br>Database Data Size: 4.89MB<br>Database Index Size: 2.21MB<br>wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.09MB + Index: 0.11MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_cocart_carts: Data: 0.03MB + Index: 0.02MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_budget_recommendations: Data: 0.20MB + Index: 0.11MB + Engine InnoDB<br>wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_lpc_bordereau: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_lpc_inward_label: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_lpc_outward_label: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_options: Data: 3.09MB + Index: 0.08MB + Engine InnoDB<br>wp_postmeta: Data: 0.13MB + Index: 0.13MB + Engine InnoDB<br>wp_posts: Data: 0.08MB + Index: 0.06MB + Engine InnoDB<br>wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wrc_caches: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wrc_relations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB Post Type Counts
    
    attachment: 17<br>page: 7<br>post: 3<br>product: 17<br>product_variation: 28<br>revision: 3<br>shop_order: 15<br>wp_global_styles: 1<br>wp_navigation: 1<br>wp_template: 2 Security
    
    Secure connection (HTTPS): ✔<br>Hide errors from visitors: ❌Error messages should not be shown to visitors. Active Plugins (9)
    
    CoCart - Decoupling WooCommerce Made Easy: by Sébastien Dumont – 3.10.0-beta.1<br>Colissimo shipping methods for WooCommerce: by Colissimo – 1.9.1<br>Disable REST API: by Dave McHale – 1.8<br>Mon Plugin Stripe: by –<br>WooCommerce Stripe Gateway: by WooCommerce – 7.5.0<br>WooCommerce: by Automattic – 8.3.0 (update to version 8.3.1 is available)<br>Super Page Cache for Cloudflare: by Optimole – 4.7.4<br>WP-Optimize - Clean, Compress, Cache: by David Anderson<br>Ruhani Rabin<br>Team Updraft – 3.2.18
    
    WP REST Cache: by Acato – 2023.2.1 Inactive Plugins (10)
    
    Akismet Anti-Spam: Spam Protection: by Automattic - Anti Spam Team – 5.2<br>CoCart JWT Authentication: by Sébastien Dumont – 1.0.1<br>Google Listings and Ads: by WooCommerce – 2.5.3<br>Hello Dolly: by Matt Mullenweg – 1.7.2<br>JWT Authentication for WP-API: by Enrique Chavez – 1.3.2<br>Query Monitor: by John Blackbourn – 3.13.1<br>Really Simple SSL: by Really Simple Plugins – 7.0.8<br>WooCommerce Payments: by Automattic – 6.3.2 (update to version 6.8.0 is available)<br>WooCommerce PayPal Payments: by WooCommerce – 2.2.0 (update to version 2.4.1 is available)<br>WooCommerce Shipping & Tax: by WooCommerce – 2.3.3 (update to version 2.4.2 is available) Dropin Plugins (1)
    
    db.php: Query Monitor Database Class (Drop-in) Must Use Plugins (1)
    
    WP REST Cache - Must-Use Plugin: by Richard Korthuis - Acato – 2021.3.0 Settings
    
    API Enabled: –<br>Force SSL: –<br>Currency: EUR (€)<br>Currency Position: right<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)
    
    Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – WC Pages
    
    Shop base: #6 - /boutique/<br>Cart: #7 - /panier/<br>Checkout: #8 - /commander/<br>My account: #9 - /mon-compte/<br>Terms and conditions: ❌ Page not set Theme
    
    Name: Twenty Twenty-Three<br>Version: 1.1 (update to version 1.3 is available)<br>Author URL: https://ww.wp.xz.cn<br>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<br>WooCommerce Support: ✔ Templates
    
    Overrides: /homepages/13/d970620607/htdocs/GetDaBag/WordPress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/error.php<br>/homepages/13/d970620607/htdocs/GetDaBag/WordPress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/notice.php<br>/homepages/13/d970620607/htdocs/GetDaBag/WordPress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/success.php Admin
    
    Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page
    
    Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-virtual-downloadable<br>product-external-affiliate<br>settings<br>async-product-editor-category-field
    
    Daily Cron: ✔ Next scheduled: 2023-12-02 17:54:45 +01:00<br>Options: ✔<br>Notes: 98<br>Onboarding: completed Action Scheduler
    
    Complete: 238<br>Oldest: 2023-11-02 17:12:05 +0100<br>Newest: 2023-12-02 01:37:56 +0100
    
    Failed: 1<br>Oldest: 2023-07-27 20:13:46 +0200<br>Newest: 2023-07-27 20:13:46 +0200
    
    Pending: 1<br>Oldest: 2023-12-02 18:58:29 +0100<br>Newest: 2023-12-02 18:58:29 +0100 CoCart
    
    Version: 3.10.0-beta.1<br>Database Version: 3.10.0-beta.1<br>Install Date: 27 July 2023<br>Carts in Session: 3<br>Carts Active: 3 out of 3 in session.<br>Carts Expiring Soon: 0 out of 3 in session.<br>Carts Expired: 0 out of 3 in session.<br>Carts Source (by CoCart): 2<br>Carts Source (by Web): 1<br>Carts Source (by Other): 0 Status report information
    
    Generated at: 2023-12-02 01:47:34 +01:00<br>`
    • This topic was modified 2 years, 6 months ago by heyooooh.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fetch with cocart API is blocking’ is closed to new replies.