• Resolved Peter M.

    (@inveress)


    We’ve recently had a new issue pop up — haven’t noticed it happen before but maybe we just haven’t hit the right conditions.

    We had a few refunds on orders recently (full order refunded) and in most cases these were processed same day the order was placed (before it had been marked as COMPLETE). In these cases, the refund was noted on the original order as usual and its status set to REFUNDED.

    However, there was one order that was refunded several days after it was placed, after it was fully processed to COMPLETE. We processed the refund and it shows up in our PayPal export report under a different order ID. It looks as though the site has created a ‘dummy’ order (it doesnt show up in the list of orders, so it’s apparently just done it to get a usable order ID number) and sent the refund to PayPal under that new order ID. Original order ID was 63142, while the new order ID is 63257.

    The time between the order and the refund (about a week), and the fact that the order had in the meantime been processed through to completion, is the only thing different about this order, as far as I can see.

    Is it normal for this to happen?

    Cheers, Peter.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @inveress

    Thanks for reaching out!

    I understand that you’ve recently encountered an issue with refunds on orders, specifically when an order has been refunded after it was marked as Completed. I see that the refund was processed under a different order ID, which seems to have created a ‘dummy’ order in your system. I can imagine how this situation could be confusing and concerning, so let me help clarify things for you.

    Firstly, it is not normal for WooCommerce to create a ‘dummy’ order when processing a refund. Typically, the refund should be associated with the original order ID, regardless of whether the order was marked as Completedor not.

    This is a sample of a refunded order that has been marked as completed last December 2022.

    It seems that there are certain conditions or customizations in your WooCommerce setup that might be causing this issue.

    To better assist you, I would like to gather more information about your WooCommerce setup. Please provide the following details:

    1. A screenshot of the original order (ID 63142) and the ‘dummy’ order (ID 63257) from your WooCommerce Orders page. If you don’t already have a screenshot service installed, you can try https://snipboard.io. You can share the direct link to the image as a response to this topic.
    2. Your System Status Report that you can find via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    Looking forward to hearing from you!

    Hi @inveress

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new topic.

    Thanks!

    Thread Starter Peter M.

    (@inveress)

    Hi,

    My apologies for the late reply. Here is the screenshot of the original order:

    https://snipboard.io/VjBmla.jpg

    The dummy order is not an actual order (ie, it does not appear in the Orders list), the system just created and used that order ID for the refund.

    Here is the status report. Any suggestions would be greatly appreciated.

    WordPress Environment
    
    WordPress address (URL): https://www.emuridge.com.au
    Site address (URL): https://www.emuridge.com.au
    WC Version: 7.5.1
    REST API Version: ✔ 7.5.1
    WC Blocks Version: ✔ 9.6.6
    Action Scheduler Version: ✔ 3.5.4
    Log Directory Writable: ✔
    WP Version: 6.2.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: –
    Language: en_AU
    External object cache: –
    
    Server Environment
    
    Server Info: LiteSpeed
    PHP Version: 7.4.33
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 3000
    cURL Version: 7.87.0
    OpenSSL/1.1.1p
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.6.13-MariaDB
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    Database
    
    WC Database Version: 7.5.1
    WC Database Prefix: wp_
    Total Database Size: 1022.10MB
    Database Data Size: 577.23MB
    Database Index Size: 444.87MB
    wp_woocommerce_sessions: Data: 2.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 7.52MB + Index: 2.52MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 49.58MB + Index: 46.16MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 10.02MB + Index: 15.28MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 8.02MB + Index: 9.03MB + Engine InnoDB
    wp_aioseo_cache: Data: 0.11MB + Index: 0.03MB + Engine InnoDB
    wp_aioseo_notifications: Data: 0.03MB + Index: 0.06MB + Engine InnoDB
    wp_aioseo_posts: Data: 2.52MB + Index: 0.14MB + Engine InnoDB
    wp_commentmeta: Data: 0.42MB + Index: 1.19MB + Engine InnoDB
    wp_comments: Data: 20.55MB + Index: 25.64MB + Engine InnoDB
    wp_elex_bulk_shipments_orders_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ff_scheduled_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_draft_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_entry_details: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_form_analytics: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_order_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_submissions: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_submission_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_subscriptions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_transactions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fsmpt_email_logs: Data: 5.02MB + Index: 0.00MB + Engine InnoDB
    wp_iwp_backup_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_iwp_processed_iterator: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_lrgawidget_pro_global_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_manifest_aus: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 12.02MB + Index: 2.13MB + Engine InnoDB
    wp_ph_bookings_availability_calculation_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_postmeta: Data: 332.58MB + Index: 283.53MB + Engine InnoDB
    wp_posts: Data: 35.38MB + Index: 13.31MB + Engine InnoDB
    wp_seopress_significant_keywords: Data: 0.27MB + Index: 0.27MB + Engine InnoDB
    wp_termmeta: Data: 0.06MB + Index: 0.17MB + Engine InnoDB
    wp_terms: Data: 0.11MB + Index: 0.09MB + Engine InnoDB
    wp_term_relationships: Data: 0.41MB + Index: 0.16MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.16MB + Index: 0.16MB + Engine InnoDB
    wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_usermeta: Data: 14.50MB + Index: 28.41MB + Engine InnoDB
    wp_users: Data: 0.41MB + Index: 0.48MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 2.52MB + Index: 1.78MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.09MB + Index: 0.13MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 5.52MB + Index: 7.03MB + Engine InnoDB
    wp_wc_order_stats: Data: 3.52MB + Index: 3.36MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 2.52MB + Index: 1.98MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.09MB + Index: 0.08MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.14MB + Index: 0.20MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.36MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfBlockedIPLog: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wfBlocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfConfig: Data: 2.28MB + Index: 0.00MB + Engine InnoDB
    wp_wfCrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfFileChanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfFileMods: Data: 36.58MB + Index: 0.00MB + Engine InnoDB
    wp_wfHits: Data: 1.02MB + Index: 0.25MB + Engine InnoDB
    wp_wfHoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfIssues: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
    wp_wfKnownFileList: Data: 15.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfLiveTrafficHuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfLocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfLogins: Data: 1.02MB + Index: 0.14MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfNotifications: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wfPendingIssues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfReverseCache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfSNIPCache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfStatus: Data: 1.02MB + Index: 0.11MB + Engine InnoDB
    wp_wfTrafficRates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yydev_comments_subscribe: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    
    Post Type Counts
    
    aiosrs-schema: 3
    attachment: 2895
    booking_slot_freez: 5
    custom_css: 3
    customize_changeset: 3
    fl-builder-template: 22
    fl-theme-layout: 9
    iwp_log: 446
    mc4wp-form: 1
    nav_menu_item: 132
    oembed_cache: 13
    page: 31
    popup: 1
    popup_theme: 6
    post: 581
    product: 264
    product_variation: 716
    revision: 598
    seopress_404: 9
    seopress_bot: 23
    shop_coupon: 68
    shop_order: 19827
    shop_order_refund: 172
    
    Security
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    Active Plugins (49)
    
    InfiniteWP - Client: by Revmakx – 1.11.1
    Address Autocomplete: by HighAddons – 1.0.6
    Ajax Search Lite: by Ernest Marcinko – 4.11.2
    Analytics Insights for Google Analytics 4 (AIWP): by DeConf – 5.8.6
    Antispam Bee: by pluginkollektiv – 2.11.3
    ELEX WooCommerce Australia Post Shipping With Tracking: by ELEXtensions – 3.1.4
    Autoptimize: by Frank Goossens (futtta) – 3.1.7
    Beaver Builder Plugin (Pro Version): by The Beaver Builder Team – 2.6.3.3
    Beaver Themer: by The Beaver Builder Team – 1.4.5.1
    PowerPack for Beaver Builder: by IdeaBox Creations – 2.30.0
    Beaver Builder Mega Menu: by https://bbmegamenu.com – 1.4.6
    Classic Editor: by WordPress Contributors – 1.6.3
    YYDevelopment - Subscribe To Comments Checkbox: by YYDevelopment – 1.2.3
    Custom Site Functions: by Peter Monk – 1.3
    Facebook for WooCommerce: by Facebook – 3.0.23
    Flexible Checkout Fields PRO: by WP Desk – 3.5.4
    Flexible Checkout Fields: by WP Desk – 3.5.7
    FluentSMTP: by FluentSMTP & WPManageNinja Team – 2.2.4
    Fluent Forms: by Contact Form - WPManageNinja LLC – 4.3.25
    Fluent Forms Pro Add On Pack: by Fluent Forms – 4.3.23
    Imsanity: by Exactly WWW – 2.8.2
    Index WP MySQL For Speed: by Oliver Jones
    Rick James – 1.4.12
    
    Kadence WooCommerce Email Designer: by Kadence WP – 1.5.10
    Klaviyo: by Klaviyo
    Inc. – 3.0.12
    
    Lara's Google Analytics (GA4) - Pro: by XtraOrbit Web Development SRL – 4.0.1
    LiteSpeed Cache: by LiteSpeed Technologies – 5.3.3
    Meta pixel for WordPress: by Facebook – 3.0.10
    Bookings and Appointments For WooCommerce Premium: by PluginHive – 3.2.9
    Post Types Order: by Nsp Code – 2.0.5
    Advanced Editor Tools: by Automattic – 5.9.0
    UpdraftPlus - Backup/Restore: by UpdraftPlus.com
    DavidAnderson – 1.23.3
    
    Advanced Order Export For WooCommerce: by AlgolPlus – 3.4.0
    WooCommerce Stripe Gateway: by WooCommerce – 7.3.0
    WooCommerce Google Analytics Integration: by WooCommerce – 1.8.1
    WooCommerce PayPal Payments: by WooCommerce – 2.0.4
    WooCommerce Simply Order Export Add-on: by Ankit Gade – 3.4
    WooCommerce Simply Order Export: by Ankit Gade – 3.0.13
    WooCommerce Wholesale Prices Premium: by Rymera Web Co – 1.30.1.1
    WooCommerce Wholesale Prices: by Rymera Web Co – 2.1.6.2
    WooCommerce: by Automattic – 7.5.1 (update to version 7.7.0 is available)
    WooPack for Beaver Builder: by Team IdeaBox - Beaver Addons – 1.5.2
    Wordfence Security: by Wordfence – 7.9.2
    Perfect Images (Media Replace • Generate Thumbnails • Image Sizes • Optimize • HighDPI): by Jordy Meow – 6.4.2
    WP Rollback: by GiveWP.com – 1.7.3
    Schema Pro: by Brainstorm Force – 2.7.7
    SEOPress PRO: by The SEO Guys at SEOPress – 6.5
    SEOPress: by The SEO Guys at SEOPress – 6.5.0.3
    WP YouTube Lyte: by Frank Goossens (futtta) – 1.7.22
    WPForms Lite: by WPForms – 1.8.1.2
    
    Inactive Plugins (8)
    
    Active Users: by Inveress Web Development – 0.1.3
    All in One SEO: by All in One SEO Team – 4.3.7
    Find Posts Using Attachment: by Sergey Biryukov – 1.0
    User Switching: by John Blackbourn & contributors – 1.7.0
    WooCommerce Australia Post Shipping: by WooCommerce – 2.4.32 (update to version 2.5.1 is available)
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3
    Woo Manage Fraud Orders: by Prasidhda Malla – 2.6.1
    WP-Optimize - Clean, Compress, Cache: by David Anderson
    Ruhani Rabin
    Team Updraft – 3.2.15
    
    Dropin Plugins (1)
    
    maintenance.php: maintenance.php
    
    Must Use Plugins (2)
    
    Index WP MySQL For Speed Upgrade Filter for mu-plugins.: by – 1.4.10
    InfiniteWP - Client Loader: by Revmakx – 1.0.1
    
    Settings
    
    API Enabled: ✔
    Force SSL: –
    Currency: AUD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    phive_booking (phive_booking)
    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: ✔
    Enforce Approved Product Download Directories: –
    Order datastore: WC_Order_Data_Store_CPT
    
    WC Pages
    
    Shop base: #5 - /shop/
    Cart: #6 - /cart/
    Checkout: #7 - /checkout/
    My account: #8 - /my-account/
    Terms and conditions: #35923 - /online-terms-and-conditions/
    
    Theme
    
    Name: Beaver Builder Child Theme
    Version: 1.0
    Author URL: http://www.fastlinemedia.com
    Child Theme: ✔
    Parent Theme Name: Beaver Builder Theme
    Parent Theme Version: 1.7.13
    Parent Theme Author URL: http://www.wpbeaverbuilder.com/?utm_medium=bb-pro&utm_source=bb-theme&utm_campaign=themes-admin-page
    WooCommerce Support: ✔
    
    Templates
    
    Overrides: bb-theme-child/woocommerce/single-product-reviews.php
    
    WooCommerce PayPal Payments
    
    Onboarded: ✔
    Shop country code: AU
    WooCommerce currency supported: ✔
    Advanced Card Processing available in country: ✔
    Pay Later messaging available in country: ✔
    Webhook status: ✔
    Vault enabled: ✔
    Logging enabled: ✔
    Reference Transactions: –
    Used PayPal Checkout plugin: ✔
    Tracking enabled: ✔
    
    Admin
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    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: minified-js
    new-product-management-experience
    product-variation-management
    settings
    
    Daily Cron: ✔ Next scheduled: 2023-05-17 14:28:29 +09:30
    Options: ✔
    Notes: 133
    Onboarding: completed
    
    Action Scheduler
    
    Complete: 29,329
    Oldest: 2023-04-16 23:07:03 +0930
    Newest: 2023-05-17 22:57:12 +0930
    
    Failed: 12
    Oldest: 2023-03-02 02:01:03 +1030
    Newest: 2023-05-13 11:28:04 +0930
    
    Pending: 6
    Oldest: 2023-05-18 06:04:04 +0930
    Newest: 2023-05-22 10:21:04 +0930
    
    Status report information
    
    Generated at: 2023-05-17 23:04:21 +09:30
    `

    Hi @inveress

    Thanks for sharing the requested information above.

    I understand that the dummy order ID is only being created when the refund process is being performed for orders that had been completed for some time and it is not available under the Orders list, correct?

    I can see on this screenshot that the purchase was made via Stripe, however, you mentioned in your original post that the issue lies with Paypal, yes?

    Hence, can you please provide us with a screenshot of the refunded order under WooCommerce as well as the newly created order ID that was generated and visible on your Paypal dashboard (or wherever you saw it) for us to check this further?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Refund order after a few days = refund is recorded under a new order ID’ is closed to new replies.