Support » Plugin: WooCommerce » “Restock refunded items” not working

  • Resolved alexis888

    (@alexis888)


    Probleme refund :

    Hello. I have a problem with stock levels not being increased after I refund an order, even though the “Restock refunded items” checkbox is checked.

    I have looked for solutions online, tried the following things and repeated the order / refund process every time but with no luck :
    – disable every plugin except woocommerce
    – switch my theme (OceanWP) to storefront
    – tried with different payment methods (bank wire, paypal (sandbox) etc)

    It still doesn’t work.

    It does work when I manually cancel (not refund) an order though. Then the stock levels increase again.

    It looks like the “refund” status doesn’t trigger the action that should increase stock levels.

    Any other solution I should try to fix this ?
    Thanks !

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Joey

    (@jricketts4)

    Hi @alexis888,

    I’ve tried duplicating this locally, but refunding an order does increase the stock quantity for the related product.
    You can see my local site example here: https://d.pr/i/dzLplG

    Can you include the following in your reply so that we can look further?:

    • A copy of your SSR – WooCommerce > Status > ‘Get system report’
    • A screenshot of your product inventory settings – WooCommerce > Settings > Products > Inventory
    • A screenshot of the order (just the notes is fine) that was refunded but did not restock the product.

    Once you have that together, please let us know!

    Thank you,
    Joey

    Hello @jricketts4, thanks for your answer.

    Here is the information you asked for :

    A copy of your SSR – WooCommerce > Status > ‘Get system report’ :

    
    ### WordPress Environment ###
    
    WordPress address (URL): http://aleksandrah.sg-host.com
    Site address (URL): http://aleksandrah.sg-host.com
    WC Version: 3.8.1
    REST API Version: ✔ 1.0.2
    Log Directory Writable: ✔
    WP Version: 5.3.2
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.1.33 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 128 MB
    PHP Time Limit: 14400
    PHP Max Input Vars: 3000
    cURL Version: 7.61.1
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.25-28-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: 3.8.1
    WC Database Prefix: qchqx_
    MaxMind GeoIP Database: ✔
    Total Database Size: 13.34MB
    Database Data Size: 12.14MB
    Database Index Size: 1.20MB
    qchqx_woocommerce_sessions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    qchqx_woocommerce_order_itemmeta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM
    qchqx_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_comments: Data: 0.04MB + Index: 0.04MB + Engine MyISAM
    qchqx_duplicator_packages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_odb_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_options: Data: 1.74MB + Index: 0.07MB + Engine MyISAM
    qchqx_postmeta: Data: 8.93MB + Index: 0.48MB + Engine MyISAM
    qchqx_posts: Data: 1.04MB + Index: 0.17MB + Engine MyISAM
    qchqx_termmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    qchqx_terms: Data: 0.00MB + Index: 0.02MB + Engine MyISAM
    qchqx_term_relationships: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    qchqx_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_usermeta: Data: 0.04MB + Index: 0.03MB + Engine MyISAM
    qchqx_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wc_order_product_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    qchqx_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woobe_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woobe_history_bulk: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woof_query_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wsal_metadata: Data: 0.04MB + Index: 0.03MB + Engine MyISAM
    qchqx_wsal_occurrences: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wsal_options: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    qchqx_yoast_seo_links: Data: 0.04MB + Index: 0.01MB + Engine MyISAM
    qchqx_yoast_seo_meta: Data: 0.18MB + Index: 0.20MB + Engine MyISAM
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (43) ###
    
    Ocean Extra: by OceanWP – 1.5.20
    Ivory Search: by Ivory Search – 4.4.6
    Share Buttons by AddThis: by The AddThis Team – 6.2.6
    Adminimize: by Frank Bültge – 1.11.6
    Advanced Custom Fields PRO: by Elliot Condon – 5.8.7
    Advanced Custom Fields: by Elliot Condon – 5.8.7
    Antispam Bee: by pluginkollektiv – 2.9.1
    Autoptimize: by Frank Goossens (futtta) – 2.6.1
    Duplicate Page: by mndpsingh287 – 4.0
    Duplicator: by Snap Creek – 1.3.24
    Elementor Pro: by Elementor.com – 2.8.3
    Elementor: by Elementor.com – 2.8.3
    Essential Addons for Elementor: by WPDeveloper – 3.6.2
    Forum_wordpress_fr: by Andre Renaut – 4.2
    Google Authenticator: by Ivan Kruchkoff – 0.52
    MC4WP: Mailchimp for WordPress: by ibericode – 4.7.4
    myStickymenu: by Premio – 2.3
    WP Sticky Sidebar: by Premio – 1.3.3
    Image optimization service by Optimole: by Optimole – 2.2.7
    Perfect WooCommerce Brands: by Alberto de Vera Sevilla – 1.7.7
    Post SMTP: by Yehuda Hassine – 2.0.6
    Recent Posts Widget With Thumbnails: by Martin Stehle – 6.6.1
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.2
    Optimize Database after Deleting Revisions: by CAGE Web Design | Rolf van Gelder
    Eindhoven
    The Netherlands – 4.8.8
    
    SecuPress Free — WordPress Security: by SecuPress – 1.4.11
    Shortcode in Menus: by Gagan Deep Singh – 3.5
    Simple Revisions Delete by bweb: by Brice CAPOBIANCO – 1.5
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.21
    
    User Switching: by John Blackbourn & contributors – 1.5.3
    WooCommerce Waitlist: by XootiX – 1.4 – Not tested with the active version of WooCommerce
    WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.2.2
    What The File: by Never5 – 1.5.4
    White Label CMS: by www.videousermanuals.com – 2.1.1
    Wicked Folders: by Wicked Plugins – 2.16.1
    WooCommerce Bulk Editor: by realmag777 – 1.0.5.1
    WooCommerce Admin: by WooCommerce – 0.23.3
    WOOF - WooCommerce Products Filter: by realmag777 – 1.2.3 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.8.1
    Yoast SEO: by Team Yoast – 12.8
    WP Rollback: by Impress.org – 1.7.0
    WP Sitemap Page: by Tony Archambeau – 1.6.2
    WP Super Cache: by Automattic – 1.7.0
    WPForms Lite: by WPForms – 1.5.7
    
    ### Inactive Plugins (4) ###
    
    Mail On Update: by Sven Kubiak
    Matthias Kindler – 5.4.11
    
    ManageWP - Worker: by GoDaddy – 4.9.2
    Plugin Detective - Troubleshooting: by N Squared – 1.1.6
    Really Simple SSL: by Rogier Lankhorst
    Mark Wolters – 3.2.7
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (2) ###
    
    SecuPress COOKIEHASH: by  – 1.0
    SecuPress Salt Keys: by  – 1.0.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)
    
    Connected to WooCommerce.com: –
    
    ### WC Pages ###
    
    Shop base: #6 - /new-arrivals/
    Cart: #7 - /basket/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: #200 - /terms-conditions/
    
    ### Theme ###
    
    Name: OceanWP Child
    Version: 1.0
    Author URL: https://oceanwp.org/
    Child Theme: ✔
    Parent Theme Name: OceanWP
    Parent Theme Version: 1.7.4
    Parent Theme Author URL: https://oceanwp.org/about-me/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: oceanwp/woocommerce/cart/mini-cart.php
    oceanwp-child-theme-master/woocommerce/checkout/review-order.php
    oceanwp/woocommerce/content-single-product.php
    oceanwp-child-theme-master/woocommerce/content-widget-product.php
    oceanwp/woocommerce/loop/loop-start.php
    oceanwp-child-theme-master/woocommerce/single-product/add-to-cart/variable.php
    oceanwp-child-theme-master/woocommerce/single-product/short-description.php
    oceanwp/woocommerce/single-product/title.php
    
    ### Action Scheduler ###
    
    Complete: 105
    Oldest: 2019-12-10 11:59:31 +0000
    Newest: 2020-01-09 18:53:25 +0000
    
    Pending: 1
    Oldest: 2020-01-09 19:44:21 +0000
    Newest: 2020-01-09 19:44:21 +0000
    
    Canceled: 0
    Oldest: –
    Newest: –
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 0
    Oldest: –
    Newest: –
    
    

    A screenshot of your product inventory settings : https://ibb.co/f93shM0

    A screenshot of the order when I’m about to refund : https://ibb.co/PgwhtYp

    A screenshot of the order that was refunded but did not restock the product : https://ibb.co/XDkQJpr

    As a side note, I’m not using SSL / HTTPS yet as this is a development website and not one in production yet.

    I hope this helps.
    Thank you !

    • This reply was modified 1 month, 1 week ago by alexis888.

    Hello @jricketts4, thanks for your answer.

    Here is the information you asked for :

    A copy of your SSR – WooCommerce > Status > ‘Get system report’ :

    
    ### WordPress Environment ###
    
    WordPress address (URL): http://aleksandrah.sg-host.com
    Site address (URL): http://aleksandrah.sg-host.com
    WC Version: 3.8.1
    REST API Version: ✔ 1.0.2
    Log Directory Writable: ✔
    WP Version: 5.3.2
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.1.33 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 128 MB
    PHP Time Limit: 14400
    PHP Max Input Vars: 3000
    cURL Version: 7.61.1
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.25-28-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: 3.8.1
    WC Database Prefix: qchqx_
    MaxMind GeoIP Database: ✔
    Total Database Size: 13.34MB
    Database Data Size: 12.14MB
    Database Index Size: 1.20MB
    qchqx_woocommerce_sessions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    qchqx_woocommerce_order_itemmeta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM
    qchqx_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_comments: Data: 0.04MB + Index: 0.04MB + Engine MyISAM
    qchqx_duplicator_packages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_odb_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_options: Data: 1.74MB + Index: 0.07MB + Engine MyISAM
    qchqx_postmeta: Data: 8.93MB + Index: 0.48MB + Engine MyISAM
    qchqx_posts: Data: 1.04MB + Index: 0.17MB + Engine MyISAM
    qchqx_termmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    qchqx_terms: Data: 0.00MB + Index: 0.02MB + Engine MyISAM
    qchqx_term_relationships: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    qchqx_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_usermeta: Data: 0.04MB + Index: 0.03MB + Engine MyISAM
    qchqx_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wc_order_product_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    qchqx_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    qchqx_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woobe_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woobe_history_bulk: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_woof_query_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wsal_metadata: Data: 0.04MB + Index: 0.03MB + Engine MyISAM
    qchqx_wsal_occurrences: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    qchqx_wsal_options: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    qchqx_yoast_seo_links: Data: 0.04MB + Index: 0.01MB + Engine MyISAM
    qchqx_yoast_seo_meta: Data: 0.18MB + Index: 0.20MB + Engine MyISAM
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (43) ###
    
    Ocean Extra: by OceanWP – 1.5.20
    Ivory Search: by Ivory Search – 4.4.6
    Share Buttons by AddThis: by The AddThis Team – 6.2.6
    Adminimize: by Frank Bültge – 1.11.6
    Advanced Custom Fields PRO: by Elliot Condon – 5.8.7
    Advanced Custom Fields: by Elliot Condon – 5.8.7
    Antispam Bee: by pluginkollektiv – 2.9.1
    Autoptimize: by Frank Goossens (futtta) – 2.6.1
    Duplicate Page: by mndpsingh287 – 4.0
    Duplicator: by Snap Creek – 1.3.24
    Elementor Pro: by Elementor.com – 2.8.3
    Elementor: by Elementor.com – 2.8.3
    Essential Addons for Elementor: by WPDeveloper – 3.6.2
    Forum_wordpress_fr: by Andre Renaut – 4.2
    Google Authenticator: by Ivan Kruchkoff – 0.52
    MC4WP: Mailchimp for WordPress: by ibericode – 4.7.4
    myStickymenu: by Premio – 2.3
    WP Sticky Sidebar: by Premio – 1.3.3
    Image optimization service by Optimole: by Optimole – 2.2.7
    Perfect WooCommerce Brands: by Alberto de Vera Sevilla – 1.7.7
    Post SMTP: by Yehuda Hassine – 2.0.6
    Recent Posts Widget With Thumbnails: by Martin Stehle – 6.6.1
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.2
    Optimize Database after Deleting Revisions: by CAGE Web Design | Rolf van Gelder
    Eindhoven
    The Netherlands – 4.8.8
    
    SecuPress Free — WordPress Security: by SecuPress – 1.4.11
    Shortcode in Menus: by Gagan Deep Singh – 3.5
    Simple Revisions Delete by bweb: by Brice CAPOBIANCO – 1.5
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.21
    
    User Switching: by John Blackbourn & contributors – 1.5.3
    WooCommerce Waitlist: by XootiX – 1.4 – Not tested with the active version of WooCommerce
    WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.2.2
    What The File: by Never5 – 1.5.4
    White Label CMS: by www.videousermanuals.com – 2.1.1
    Wicked Folders: by Wicked Plugins – 2.16.1
    WooCommerce Bulk Editor: by realmag777 – 1.0.5.1
    WooCommerce Admin: by WooCommerce – 0.23.3
    WOOF - WooCommerce Products Filter: by realmag777 – 1.2.3 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.8.1
    Yoast SEO: by Team Yoast – 12.8
    WP Rollback: by Impress.org – 1.7.0
    WP Sitemap Page: by Tony Archambeau – 1.6.2
    WP Super Cache: by Automattic – 1.7.0
    WPForms Lite: by WPForms – 1.5.7
    
    ### Inactive Plugins (4) ###
    
    Mail On Update: by Sven Kubiak
    Matthias Kindler – 5.4.11
    
    ManageWP - Worker: by GoDaddy – 4.9.2
    Plugin Detective - Troubleshooting: by N Squared – 1.1.6
    Really Simple SSL: by Rogier Lankhorst
    Mark Wolters – 3.2.7
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (2) ###
    
    SecuPress COOKIEHASH: by  – 1.0
    SecuPress Salt Keys: by  – 1.0.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)
    
    Connected to WooCommerce.com: –
    
    ### WC Pages ###
    
    Shop base: #6 - /new-arrivals/
    Cart: #7 - /basket/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: #200 - /terms-conditions/
    
    ### Theme ###
    
    Name: OceanWP Child
    Version: 1.0
    Author URL: https://oceanwp.org/
    Child Theme: ✔
    Parent Theme Name: OceanWP
    Parent Theme Version: 1.7.4
    Parent Theme Author URL: https://oceanwp.org/about-me/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: oceanwp/woocommerce/cart/mini-cart.php
    oceanwp-child-theme-master/woocommerce/checkout/review-order.php
    oceanwp/woocommerce/content-single-product.php
    oceanwp-child-theme-master/woocommerce/content-widget-product.php
    oceanwp/woocommerce/loop/loop-start.php
    oceanwp-child-theme-master/woocommerce/single-product/add-to-cart/variable.php
    oceanwp-child-theme-master/woocommerce/single-product/short-description.php
    oceanwp/woocommerce/single-product/title.php
    
    ### Action Scheduler ###
    
    Complete: 105
    Oldest: 2019-12-10 11:59:31 +0000
    Newest: 2020-01-09 18:53:25 +0000
    
    Pending: 1
    Oldest: 2020-01-09 19:44:21 +0000
    Newest: 2020-01-09 19:44:21 +0000
    
    Canceled: 0
    Oldest: –
    Newest: –
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 0
    Oldest: –
    Newest: –
    
    

    A screenshot of your product inventory settings : https://ibb.co/f93shM0

    A screenshot of the order when I’m about to refund : https://ibb.co/PgwhtYp

    A screenshot of the order that was refunded but did not restock the product : https://ibb.co/XDkQJpr

    As a side note, I’m not using SSL / HTTPS yet as this is a development website and not one in production yet.

    I hope this helps.
    Thank you !

    @jricketts4 anything about this issue ?

    Plugin Support John Coy

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @alexis888

    Thanks for the status report. My suspicion is that the problem is caused by the template overrides applied to the active theme. It also could be that the site isn’t using a recommended version of PHP.

    That said, could you contact your host and request their assistance with upgrading PHP? Also, request that they disable any caching tools that could be serving outdated information. They also will be able to review PHP error logs at the time restoring stock is triggered.

    It will be helpful if you also enabled debug to see if there are any PHP errors on the page after processing a refund:

    Debugging in WordPress

    We are not seeing an issue with the most recent version of WooCommerce so it may also be helpful to update WooCommerce after taking the steps above.

    Best,

    Plugin Support John Coy

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @alexis888,

    We haven’t heard back from you so we’re going to mark this thread resolved. Feel free to open a new thread should you find this issue persists with the most recent version of WooCommerce.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.