• Resolved Will Presley

    (@willpresleyev)


    This has been an ongoing issue for quite some time, and there never has seemed to be any resolution. Whenever a partial refund is made on an order paid with PayPal, it is immediately duplicated in WooCommerce (not in PayPal, not actually refunding twice). The duplicated refund has an ID that is +1 of the correct one, and shows the user/name of the main site admin user (in this case, me). This throws off totals, reports, etc. The 2nd refund can be removed manually by clicking the X next to it, but this isn’t sustainable long-term.

    Here are other topics that are almost definitely the same issue from the last couple of months, just to get an idea of when it may have been introduced as a bug/regression:

    In this instance, there is no chance that the production site can be switched to Storefront or plugins disabled at this time, and staging is currently migrating. No theme or plugin changes have been made, and this issue seems to have started appearing sometime between version 1.6.2 and now/1.6.5.

    Here’s a System Report:

    ### WordPress Environment ###
    
    WordPress address (URL): https://pianosafari.com
    Site address (URL): https://pianosafari.com
    WC Version: 6.2.1
    REST API Version: ? 6.2.1
    WC Blocks Version: ? 6.7.3
    Action Scheduler Version: ? 3.4.0
    WC Admin Version: ? 3.1.0
    Log Directory Writable: ?
    WP Version: 5.9.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: nginx/1.21.4
    PHP Version: 7.4.28
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.28-0ubuntu0.20.04.3
    Max Upload Size: 100 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.2.1
    WC Database Prefix: wp_
    Total Database Size: 930.42MB
    Database Data Size: 551.82MB
    Database Index Size: 378.60MB
    wp_woocommerce_sessions: Data: 5.02MB + Index: 0.06MB + 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: 5.52MB + Index: 9.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 12.52MB + Index: 3.52MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 122.66MB + Index: 81.19MB + 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.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 2.03MB + Index: 1.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: 1.16MB + Index: 0.63MB + Engine InnoDB
    wp_aelia_dismissed_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cff_facebook_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_cff_feed_caches: Data: 0.22MB + Index: 0.02MB + Engine InnoDB
    wp_cff_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_cff_feeds_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_cff_posts: Data: 0.28MB + Index: 0.00MB + Engine InnoDB
    wp_cff_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Data: 2.52MB + Index: 2.03MB + Engine InnoDB
    wp_comments: Data: 38.56MB + Index: 29.09MB + Engine InnoDB
    wp_dynamic_widgets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_em_bookings: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_em_events: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_em_locations: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_em_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_em_tickets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_em_tickets_bookings: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_masterslider_options: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_masterslider_sliders: Data: 0.44MB + Index: 0.03MB + Engine InnoDB
    wp_options: Data: 4.50MB + Index: 0.42MB + Engine InnoDB
    wp_postmeta: Data: 208.75MB + Index: 156.33MB + Engine InnoDB
    wp_posts: Data: 17.55MB + Index: 8.06MB + Engine InnoDB
    wp_sdm_downloads: Data: 8.52MB + Index: 0.00MB + Engine InnoDB
    wp_simple_history: Data: 2.38MB + Index: 0.70MB + Engine InnoDB
    wp_simple_history_contexts: Data: 8.02MB + Index: 6.69MB + Engine InnoDB
    wp_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 66.59MB + Index: 57.14MB + Engine InnoDB
    wp_users: Data: 1.52MB + Index: 0.78MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 3.52MB + Index: 1.91MB + Engine InnoDB
    wp_wc_download_log: Data: 1.52MB + Index: 0.75MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.52MB + Index: 0.52MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 12.52MB + Index: 10.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 5.52MB + Index: 4.55MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + 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_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfBlockedIPLog: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    wp_wfBlocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfConfig: Data: 2.31MB + 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: 4.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfHits: Data: 2.02MB + Index: 0.22MB + Engine InnoDB
    wp_wfHoover: Data: 1.52MB + Index: 0.11MB + Engine InnoDB
    wp_wfIssues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfKnownFileList: Data: 2.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: 0.48MB + Index: 0.19MB + Engine InnoDB
    wp_wfNotifications: Data: 0.13MB + 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: 0.13MB + Index: 0.09MB + Engine InnoDB
    wp_wfTrafficRates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpml_mails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 3.52MB + Index: 1.33MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.13MB + Index: 0.23MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.22MB + Index: 0.13MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 0.47MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 44
    acf-field-group: 3
    attachment: 1622
    event: 1
    nav_menu_item: 75
    oembed_cache: 1
    page: 114
    post: 89
    product: 140
    product_variation: 206
    revision: 424
    sdm_downloads: 24
    shop_coupon: 68
    shop_order: 44289
    shop_order_refund: 915
    wc_stamps_label: 88
    wpcf7_contact_form: 2
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (36) ###
    
    Admin Menu Editor Pro: by Janis Elsts – 2.16.1
    Advanced Custom Fields PRO: by Delicious Brains – 5.11.4
    Advanced Database Cleaner: by Younes JFR. – 3.0.4
    Aelia Shipping Pricing for Currency Switcher: by Aelia – 1.3.1.170606
    Audio Shortcode - Append Download button: by Damien Carbery – 0.4
    Better Search Replace: by Delicious Brains – 1.3.4
    Black Studio TinyMCE Widget: by Black Studio – 2.7.0
    Contact Form 7: by Takayuki Miyoshi – 5.5.6
    Custom Facebook Feed Pro Business: by Smash Balloon – 4.2.2
    Disable Gutenberg: by Jeff Starr – 2.6
    Disable Toolbar: by Michael Dance – 1.0
    Dynamic Widgets: by Qurl – 1.5.16
    Enable Media Replace: by ShortPixel – 3.6.3
    Force Regenerate Thumbnails: by Pedro Elsner – 2.0.6
    GAinWP Google Analytics Integration for WordPress: by IntelligenceWP – 5.4.6
    Imsanity: by Exactly WWW – 2.7.2
    Master Slider Pro: by averta – 3.6.0
    Restrict Usernames: by Scott Reilly – 3.7
    RSS Importer: by wordpressdotorg – 0.2
    Simple Download Monitor: by Tips and Tricks HQ
    Ruhul Amin
    Josh Lobe – 3.9.12
    
    Simple History: by P?r Thernstr?m – 3.2.0
    User Role Editor: by Vladimir Garagulya – 4.61.1
    Aelia Foundation Classes for WooCommerce: by Aelia – 2.2.3.220124
    WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.19
    Aelia Currency Switcher for WooCommerce: by Aelia – 4.13.2.220131
    WooCommerce Email Validation: by Hugh Lashbrooke – 2.1.1
    WooCommerce Export Customer Email: by MH Mithu – 1.3
    WP WooCommerce Mailchimp: by Saint Systems – 2.4.8
    WooCommerce PayPal Payments: by WooCommerce – 1.6.5
    WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 2.13.1
    WooCommerce - ShipStation Integration: by WooCommerce – 4.1.48
    WooCommerce Square: by WooCommerce – 2.9.0
    WooCommerce: by Automattic – 6.2.1
    Wordfence Security: by Wordfence – 7.5.8
    Yoast SEO: by Team Yoast – 18.2
    ReCaptcha v2 for Contact Form 7: by IQComputing – 1.3.7
    
    ### Inactive Plugins (4) ###
    
    AfterShip Tracking - All-In-One WooCommerce Order Tracking (Free plan available): by AfterShip – 1.14.3
    Grant download permissions for past WooCommerce orders: by Claudio Sanches – 0.0.2
    WP Mail Logging: by Wysija – 1.10.4
    WP Maintenance Mode & Coming Soon: by Themeisle – 2.4.4
    
    ### 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 WooCommerce.com: –
    
    ### WC Pages ###
    
    Shop base: #10 - /shop/
    Cart: #11 - /cart/
    Checkout: #12 - /checkout/
    My account: #13 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Piano Safari
    Version: 1.0
    Author URL: https://www.ev.net/
    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 ###
    
    Archive Template: Your theme has a woocommerce.php file
    you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
    
    Overrides: –
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ?
    Shop country code: US
    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: –
    
    ### Square ###
    
    Environment: Production
    Tokenization Enabled: ?
    Debug Mode: Off
    
    ### Action Scheduler ###
    
    Canceled: 1
    Oldest: 2022-01-25 09:08:42 -0500
    Newest: 2022-01-25 09:08:42 -0500
    
    Complete: 3,935
    Oldest: 2022-02-03 07:47:47 -0500
    Newest: 2022-02-24 13:34:45 -0500
    
    Failed: 25
    Oldest: 2021-11-02 16:50:37 -0400
    Newest: 2022-02-21 23:54:42 -0500
    
    Pending: 2
    Oldest: 2022-02-24 15:32:03 -0500
    Newest: 2022-02-25 16:27:35 -0500
    
    ### Status report information ###
    
    Generated at: 2022-02-24 13:48:04 -05:00
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Will Presley

    (@willpresleyev)

    As a followup, I have already tried Resubscribing to Webhooks, reconnecting the PayPal account, and the standard troubleshooting things that the WP Support forums are full of. It seems most likely to be a webhooks-related issue, but I’m struggling to find out how it’s happening.

    andos

    (@andos)

    Hi Will, I’ve the very same problem and opened an issue in GitHub today:
    https://github.com/woocommerce/woocommerce-paypal-payments/issues/522

    Same here.
    Thank you @andos for this ticket: I’ll follow it!

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    It would indeed be best to follow the GitHub thread, that is where we are continuing our efforts to get to a solution for this. However, currently, we are thinking it might be an issue caused by WooCommerce since Stripe payments are also encountering the same issue.

    We will mark this thread as resolved, but please open a new thread if you are facing any other issue than the one handled in the GitHub thread.

    Kind regards,
    Joost

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Partial Refunds Are Duplicated with Site Admin User Shown’ is closed to new replies.