Support » Plugin: WooCommerce » Partial refunds API error

  • Resolved jgjh151

    (@jgjh151)


    We have successfully done some refunds and it appears that when we do 100% of purchase, the refund will go through. However, we have had some needs for partial refunds and we are getting an API error message. We use only PayPal payment option.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @jgjh151,

    I understand that there is an error when you’re processing partial refunds via PayPal, correct? Can you confirm if you’re using PayPal standard which comes built-in in the core or a PayPal plugin? If so, which one?

    To get a better understanding could you share the following?

    1. Screenshot of the API error message. You can send us a screenshot using an online tool such as https://snipboard.io, and provide us with the generated link in your response.

    2. System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Cheers.

    Thread Starter jgjh151

    (@jgjh151)

    WooCommerce PayPal Payments
    Version 1.8.0 | By WooCommerce

    Error screenshot: https://snipboard.io/EKIjwY.jpg

    System status:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://lakerabun.org
    Site address (URL): https://lakerabun.org
    WC Version: 6.5.0
    REST API Version: ✔ 6.5.0
    WC Blocks Version: ✔ 7.4.3
    Action Scheduler Version: ✔ 3.4.0
    Log Directory Writable: ✔
    WP Version: 5.9.3
    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.4.29
    PHP Post Max Size: 256 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 7.66.0
    OpenSSL/1.1.1n-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.32-35-log
    Max Upload Size: 256 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.5.0
    WC Database Prefix: lra_
    Total Database Size: 155.58MB
    Database Data Size: 118.71MB
    Database Index Size: 36.87MB
    lra_woocommerce_sessions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    lra_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lra_woocommerce_order_items: Data: 0.13MB + Index: 0.05MB + Engine InnoDB
    lra_woocommerce_order_itemmeta: Data: 1.52MB + Index: 0.80MB + Engine InnoDB
    lra_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lra_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_actionscheduler_actions: Data: 1.52MB + Index: 0.78MB + Engine InnoDB
    lra_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_actionscheduler_logs: Data: 0.25MB + Index: 0.20MB + Engine InnoDB
    lra_commentmeta: Data: 0.16MB + Index: 0.19MB + Engine InnoDB
    lra_comments: Data: 1.52MB + Index: 0.97MB + Engine InnoDB
    lra_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
    lra_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    lra_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
    lra_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    lra_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_fbv: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_fbv_attachment_folder: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_ig_actions: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    lra_ig_blocked_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_ig_campaigns: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    lra_ig_contactmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_ig_contacts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lra_ig_contacts_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_ig_contact_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_ig_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_ig_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    lra_ig_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_ig_lists_contacts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_ig_mailing_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_ig_queue: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    lra_ig_sending_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_ig_workflows: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_ig_workflows_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_itsec_dashboard_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_itsec_distributed_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    lra_itsec_logs: Data: 0.13MB + Index: 0.11MB + Engine InnoDB
    lra_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lra_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_options: Data: 5.05MB + Index: 0.14MB + Engine InnoDB
    lra_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_pmxi_hash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_pmxi_imports: Data: 0.36MB + Index: 0.00MB + Engine InnoDB
    lra_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_pmxi_templates: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    lra_postmeta: Data: 20.52MB + Index: 8.03MB + Engine InnoDB
    lra_posts: Data: 12.42MB + Index: 1.20MB + Engine InnoDB
    lra_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_usermeta: Data: 11.52MB + Index: 21.06MB + Engine InnoDB
    lra_users: Data: 0.13MB + Index: 0.14MB + Engine InnoDB
    lra_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    lra_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_wc_customer_lookup: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    lra_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_wc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    lra_wc_order_stats: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    lra_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lra_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    lra_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_weu_group27: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_weu_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_weu_unsubscriber: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_weu_user_notification: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    lra_wfconfig: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    lra_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_wffilemods: Data: 4.52MB + Index: 0.00MB + Engine InnoDB
    lra_wfhits: Data: 1.52MB + Index: 0.27MB + Engine InnoDB
    lra_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lra_wfknownfilelist: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    lra_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_wflogins: Data: 0.47MB + Index: 0.17MB + Engine InnoDB
    lra_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lra_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lra_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    lra_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
    lra_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_woo_ua_auction_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lra_wpmailsmtp_tasks_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    lra_wpml_mails: Data: 50.55MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 40
    acf-field-group: 2
    attachment: 448
    ctct_forms: 1
    ctct_lists: 5
    custom_css: 1
    customize_changeset: 38
    elementor_font: 2
    elementor_library: 10
    itsec-dash-card: 11
    itsec-dashboard: 2
    nav_menu_item: 56
    oembed_cache: 4
    page: 72
    post: 38
    product: 20
    revision: 1712
    shop_order: 989
    shop_order_refund: 21
    tablepress_table: 22
    ticket-meta-fieldset: 2
    tribe_events: 51
    tribe_organizer: 1
    tribe_tpp_orders: 4
    tribe_venue: 14
    tribe_wooticket: 1255
    tribe-ea-record: 6
    wc_membership_plan: 4
    wc_user_membership: 1487
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (30) ###
    
    Advanced Custom Fields PRO: by Delicious Brains – 5.12.2
    Advanced Reporting For Woocommerces: by phoeniixx – 3.0
    Akismet Anti-Spam: by Automattic – 4.2.3
    iThemes Security: by iThemes – 8.1.2
    Constant Contact Forms for WordPress: by Constant Contact – 1.12.0
    Elementor Pro: by Elementor.com – 3.7.0
    Elementor: by Elementor.com – 3.6.5
    Event Tickets Plus: by The Events Calendar – 5.4.4
    Event Tickets: by The Events Calendar – 5.3.4
    Export Users to CSV: by Boopathi Rajan – 1.3.2
    FileBird Lite: by Ninja Team – 4.9.8
    Genesis Connect for WooCommerce: by StudioPress – 1.1.1
    Nav Menu Roles + WooCommerce Memberships Bridge: by Kathy Darling – 1.0.0
    Nav Menu Roles: by Kathy Darling – 2.1.0
    SiteGround Optimizer: by SiteGround – 7.1.0
    TablePress: by Tobias Bäthge – 1.14
    The Events Calendar: by The Events Calendar – 5.14.2.1
    Ultimate Auction For WooCommerce: by Nitesh Singh – 2.2.4
    User Role Editor: by Vladimir Garagulya – 4.62
    WooCommerce Smart COD: by woosmartcod.com – 1.6.1
    WooCommerce Constant Contact: by SkyVerge – 1.10.1
    WooCommerce Memberships: by SkyVerge – 1.13.0
    WooCommerce PayPal Payments: by WooCommerce – 1.8.0
    WooCommerce: by Automattic – 6.5.0
    WP All Import: by Soflyy – 3.6.6
    WP Last Login: by Konstantin Obenland – 4
    WP Mail Logging: by Wysija – 1.10.4
    WP Mail SMTP: by WPForms – 3.4.0
    WP All Import - ACF Add-On: by Soflyy – 3.3.6
    WP All Import - User Import Add-On Pro: by Soflyy – 1.1.6
    
    ### Inactive Plugins (4) ###
    
    Fast User Switching: by Tikweb – 1.4.9
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3
    WP All Export: by Soflyy – 1.3.4
    WP All Export - User Export Add-On Pro: by Soflyy – 1.0.1
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: auction (auction)
    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: –
    Enforce Approved Product Download Directories: –
    
    ### WC Pages ###
    
    Shop base: #342 - /merchandise/
    Cart: #215 - /cart/
    Checkout: #217 - /checkout/
    My account: #219 - /members/profile/
    Terms and conditions: #221 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: Essence Pro
    Version: 1.1.01
    Author URL: https://www.studiopress.com/
    Child Theme: ✔
    Parent Theme Name: Genesis
    Parent Theme Version: 3.3.5
    Parent Theme Author URL: https://www.studiopress.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: essence-pro/woocommerce/emails/customer-new-account.php version 3.5.2 is out of date. The core version is 6.0.0
    essence-pro/woocommerce/myaccount/dashboard.php version 2.6.0 is out of date. The core version is 4.4.0
    essence-pro/woocommerce/myaccount/form-edit-account.php
    essence-pro/woocommerce/myaccount/my-account.php
    
    Outdated Templates: ❌
    					
    					
    						Learn how to update
    
    ### Memberships ###
    
    Restriction mode:: Hide completely
    Public content:: Products: 1 item
    Excluded from discounts:: 1 product
    Membership plans:: 4
    LRA 2022 Membership Renewal:: Members: 508Access method: Product(s) purchaseAccess length: Fixed dates (507 days)
    LRA New Member Payment:: Members: 14Access method: Manual assignment onlyAccess length: Unlimited
    LRA 2020 Membership:: Members: 459Access method: Manual assignment onlyAccess length: Unlimited
    LRA 2021 Membership:: Members: 506Access method: Product(s) purchaseAccess length: Fixed dates (424 days)❌ The plan has purchasing discounts
    but none are active
    
    ### 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: ✔
    
    ### Action Scheduler ###
    
    Canceled: 4
    Oldest: 2022-09-25 15:00:00 -0400
    Newest: 2022-09-30 02:10:31 -0400
    
    Complete: 419
    Oldest: 2022-04-11 11:49:52 -0400
    Newest: 2022-05-11 23:50:43 -0400
    
    Pending: 1,016
    Oldest: 2023-02-26 00:00:00 -0500
    Newest: 2023-03-01 00:00:00 -0500
    
    ### Status report information ###
    
    Generated at: 2022-05-12 10:09:40 -04:00
    
    Mirko P.

    (@rainfallnixfig)

    Hi there,

    Thanks for sending over the screenshot and system status.

    It appears that specific API error was already reported in the WooCommerce PayPal Payments plugin support forum:

    https://wordpress.org/support/topic/refunds-12/

    Since there is a dedicated support forum for that plugin, I recommend opening a new topic here:

    https://wordpress.org/support/plugin/woocommerce-paypal-payments/

    Make sure you provide the support staff with the latest PayPal Payments log file and your system status for a quick resolution.

    All the best.

    Thread Starter jgjh151

    (@jgjh151)

    Hi, can you delete this post or remove the System status please?

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    We understand your concern but please note that it is not possible to delete a forum thread or remove information from the topic. Unless it is an extreme case, posts and replies are not edited here.

    Forum topics will only be edited or deleted if they represent a valid legal, security, or safety concern.

    More info at:

    https://wordpress.org/support/forum-user-guide/faq/#will-you-delete-my-post-once-the-problem-is-solved
    https://wordpress.org/about/privacy/

    Best regards.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Hi, can you delete this post or remove the System status please?

    I’m sorry, but that is only done in extreme cases. There is nothing security related in this topic and this is not an extreme case.

    https://wordpress.org/support/forum-user-guide/faq/#will-you-delete-my-post-once-the-problem-is-solved

    Search engine hits are never considered extreme. The post will not be edited or deleted.

    Thread Starter jgjh151

    (@jgjh151)

    Great, thank you.

    • This reply was modified 1 year, 10 months ago by jgjh151.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Partial refunds API error’ is closed to new replies.