• Resolved Alexanne

    (@alexannee)


    Hello,

    When I try to refund orders via Stripe, I got an error message ?An error occurred while attempting to create the refund using the payment gateway API.?

    The Live keys are correct, and the Webhook because my payments work just fine.

    Here is my System Status :


    ### WordPress Environment ###

    WordPress address (URL): https://ihumanite.com
    Site address (URL): https://ihumanite.com
    WC Version: 3.9.0
    REST API Version: ? 1.0.6
    Log Directory Writable: ?
    WP Version: 5.3.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: fr_FR
    External object cache: –

    ### Server Environment ###

    Server Info: Apache/2.4.39 (Unix) mod_hive/6.27 OpenSSL/1.0.1e-fips mod_fastcgi/2.4.6
    PHP Version: 7.1.33 – Nous recommandons d’utiliser PHP?7.2 ou supérieur pour optimiser les performances et la sécurité. Comment mettre à jour votre version de PHP??
    PHP Post Max Size: 32 MB
    PHP Time Limit: 45
    PHP Max Input Vars: 1000
    cURL Version: 7.59.0
    OpenSSL/1.0.2r

    SUHOSIN Installed: –
    MySQL Version: 5.6.36-82.1-log
    Max Upload Size: 24 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 3.9.0
    WC Database Prefix: wpus_
    Taille totale de la base de données: 69.75MB
    Taille de la base de données: 62.69MB
    Taille de l’index: 7.06MB
    wpus_woocommerce_sessions: Données?: 0.08MB + Index?: 0.02MB + Moteur InnoDB
    wpus_woocommerce_api_keys: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_woocommerce_attribute_taxonomies: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wpus_woocommerce_downloadable_product_permissions: Données?: 0.02MB + Index?: 0.06MB + Moteur InnoDB
    wpus_woocommerce_order_items: Données?: 0.06MB + Index?: 0.02MB + Moteur InnoDB
    wpus_woocommerce_order_itemmeta: Données?: 0.28MB + Index?: 0.22MB + Moteur InnoDB
    wpus_woocommerce_tax_rates: Données?: 0.02MB + Index?: 0.06MB + Moteur InnoDB
    wpus_woocommerce_tax_rate_locations: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_woocommerce_shipping_zones: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_woocommerce_shipping_zone_locations: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_woocommerce_shipping_zone_methods: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_woocommerce_payment_tokens: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wpus_woocommerce_payment_tokenmeta: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_woocommerce_log: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wpus_actionscheduler_actions: Données?: 0.17MB + Index?: 0.17MB + Moteur InnoDB
    wpus_actionscheduler_claims: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wpus_actionscheduler_groups: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wpus_actionscheduler_logs: Données?: 0.14MB + Index?: 0.09MB + Moteur InnoDB
    wpus_afwc_hits: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_afwc_payouts: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_afwc_payout_orders: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wpus_afwc_referrals: Données?: 0.02MB + Index?: 0.08MB + Moteur InnoDB
    wpus_commentmeta: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_comments: Données?: 0.08MB + Index?: 0.09MB + Moteur InnoDB
    wpus_cscs_db_subscriptions: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_gf_addon_feed: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wpus_gf_draft_submissions: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wpus_gf_entry: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_gf_entry_meta: Données?: 0.05MB + Index?: 0.05MB + Moteur InnoDB
    wpus_gf_entry_notes: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_gf_form: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_gf_form_meta: Données?: 0.06MB + Index?: 0.00MB + Moteur InnoDB
    wpus_gf_form_revisions: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_gf_form_view: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_ld_notifications_delayed_emails: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_learndash_user_activity: Données?: 0.06MB + Index?: 0.13MB + Moteur InnoDB
    wpus_learndash_user_activity_meta: Données?: 0.06MB + Index?: 0.06MB + Moteur InnoDB
    wpus_links: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wpus_mepr_events: Données?: 0.02MB + Index?: 0.08MB + Moteur InnoDB
    wpus_mepr_jobs: Données?: 0.02MB + Index?: 0.14MB + Moteur InnoDB
    wpus_mepr_members: Données?: 0.02MB + Index?: 0.27MB + Moteur InnoDB
    wpus_mepr_rule_access_conditions: Données?: 0.02MB + Index?: 0.05MB + Moteur InnoDB
    wpus_mepr_subscriptions: Données?: 0.02MB + Index?: 0.30MB + Moteur InnoDB
    wpus_mepr_subscription_meta: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_mepr_tax_rates: Données?: 0.02MB + Index?: 0.14MB + Moteur InnoDB
    wpus_mepr_tax_rate_locations: Données?: 0.02MB + Index?: 0.06MB + Moteur InnoDB
    wpus_mepr_transactions: Données?: 0.02MB + Index?: 0.33MB + Moteur InnoDB
    wpus_mepr_transaction_meta: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_mw_wc_qbo_sync_customer_pairs: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_mw_wc_qbo_sync_log: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_mw_wc_qbo_sync_paymentmethod_map: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_mw_wc_qbo_sync_payment_id_map: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_mw_wc_qbo_sync_product_pairs: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_mw_wc_qbo_sync_qbo_customers: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_mw_wc_qbo_sync_qbo_items: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_mw_wc_qbo_sync_real_time_sync_history: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_mw_wc_qbo_sync_real_time_sync_queue: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_mw_wc_qbo_sync_shipping_product_map: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_mw_wc_qbo_sync_tax_map: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_mw_wc_qbo_sync_variation_pairs: Données?: 0.00MB + Index?: 0.00MB + Moteur MyISAM
    wpus_mw_wc_qbo_sync_wq_cf_map: Données?: 0.00MB + Index?: 0.00MB + Moteur MyISAM
    wpus_options: Données?: 4.05MB + Index?: 0.08MB + Moteur InnoDB
    wpus_postmeta: Données?: 42.38MB + Index?: 2.84MB + Moteur InnoDB
    wpus_posts: Données?: 13.52MB + Index?: 0.45MB + Moteur InnoDB
    wpus_signups: Données?: 0.02MB + Index?: 0.06MB + Moteur InnoDB
    wpus_termmeta: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_terms: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_term_relationships: Données?: 0.05MB + Index?: 0.02MB + Moteur InnoDB
    wpus_term_taxonomy: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_usermeta: Données?: 0.23MB + Index?: 0.19MB + Moteur InnoDB
    wpus_users: Données?: 0.02MB + Index?: 0.05MB + Moteur InnoDB
    wpus_user_registration_sessions: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wpus_wc_download_log: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_wc_product_meta_lookup: Données?: 0.02MB + Index?: 0.09MB + Moteur InnoDB
    wpus_wc_tax_rate_classes: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wpus_wc_webhooks: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wpus_woocommerce_bundled_itemmeta: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_woocommerce_bundled_items: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_wp_pro_quiz_category: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_wp_pro_quiz_form: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wpus_wp_pro_quiz_lock: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_wp_pro_quiz_master: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_wp_pro_quiz_prerequisite: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_wp_pro_quiz_question: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_wp_pro_quiz_statistic: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_wp_pro_quiz_statistic_ref: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wpus_wp_pro_quiz_template: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wpus_wp_pro_quiz_toplist: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB

    ### Post Type Counts ###

    acf-field: 59
    acf-field-group: 6
    ae_global_templates: 12
    attachment: 573
    auteurs: 7
    cartflows_flow: 4
    cartflows_step: 12
    custom_css: 3
    customize_changeset: 23
    elementor_library: 88
    gratuite: 3
    hrf_faq: 21
    memberpressproduct: 1
    nav_menu_item: 16
    oembed_cache: 11
    page: 24
    pages_de_vente: 8
    post: 70
    product: 16
    product_variation: 6
    revision: 2824
    semaines: 1
    sfwd-courses: 6
    sfwd-lessons: 38
    sfwd-topic: 153
    shop_coupon: 2
    shop_order: 39
    shop_order_refund: 6
    shop_subscription: 27
    user_registration: 1
    wc_membership_plan: 2
    wc_user_membership: 73
    webinaires: 13
    wp_block: 1
    wpforms: 1

    ### Security ###

    Secure connection (HTTPS): ?
    Hide errors from visitors: ?

    ### Active Plugins (37) ###

    Gravity Forms: par rocketgenius – 2.4.17
    ActiveCampaign for WooCommerce: par ActiveCampaign – 1.2.9 – Non testé avec la version active de WooCommerce
    ActiveCampaign: par ActiveCampaign – 7.1.2
    Advanced Custom Fields PRO: par Elliot Condon – 5.8.7
    Affiliate For WooCommerce: par StoreApps – 1.4.0 – 1.4.1 est disponible
    Astra Pro: par Brainstorm Force – 2.2.5
    Astra Hooks: par Brainstorm Force – 1.0.2
    Autocomplete WooCommerce Orders: par Liam McArthur – 1.1.0 – Non testé avec la version active de WooCommerce
    Better Search Replace: par Delicious Brains – 1.3.3
    Elementor Blocks for Gutenberg: par Elementor.com – 1.0.1
    PublishPress Capabilities: par PublishPress – 1.9
    CartFlows: par CartFlows Inc – 1.3.5 – Non testé avec la version active de WooCommerce
    Cookie Notice: par dFactory – 1.2.50
    Custom Post Type UI: par WebDevStudios – 1.7.2
    Duplicate Page: par mndpsingh287 – 4.0
    Dynamic Content for Elementor: par Dynamic.ooo – 1.8.3
    Ele Custom Skin: par Dudaster.com – 1.3.10
    Elementor Pro: par Elementor.com – 2.8.3
    Elementor: par Elementor.com – 2.8.5
    FileBird Lite: par Ninja Team – 2.7.1
    Frontend Reset Password: par Square One Media – 1.1.9
    Gravity Forms ActiveCampaign Add-On: par rocketgenius – 1.6
    Gravity Forms User Registration Add-On: par rocketgenius – 4.4.3
    HTML5 Responsive FAQ: par Ankit Agarwal
    Priyanshu Mittal – 2.8.4

    Grille de cours LearnDash: par LearnDash – 1.5.5
    LearnDash WooCommerce Integration: par LearnDash – 1.6.0 – Non testé avec la version active de WooCommerce
    Loco Translate: par Tim Whitlock – 2.3.1
    WooCommerce Sync for QuickBooks Online – by MyWorks Software: par MyWorks Software – 2.0
    LMS LearnDash: par LearnDash – 3.1.3
    SG Optimizer: par SiteGround – 5.4.3
    User Switching: par John Blackbourn & les contributeurs – 1.5.3
    WooCommerce Stripe Gateway: par WooCommerce – 4.3.1 – Non testé avec la version active de WooCommerce
    WooCommerce Memberships: par SkyVerge – 1.16.3 – 1.17.0 est disponible – Non testé avec la version active de WooCommerce
    WooCommerce Product Bundles: par SomewhereWarm – 6.0.0 – 6.1.2 est disponible
    WooCommerce Subscriptions: par WooCommerce – 3.0.1
    WooCommerce: par Automattic – 3.9.0 – 3.9.3 est disponible
    WordPress Importer: par wordpressdotorg – 0.6.4

    ### Inactive Plugins (8) ###

    Essential Addons for Elementor: par WPDeveloper – 3.6.2
    IgniteUp: par Ceylon Systems – 3.4.1
    LearnDash LMS – Notifications: par LearnDash – 1.3.0.33
    Premium Addons for Elementor: par Leap13 – 3.9.7
    User Registration: par WPEverest – 1.7.5
    WooCommerce Subscriptions – Custom Price String: par Prospress Inc. – 1.0.1 – Non testé avec la version active de WooCommerce
    Wordfence Security: par Wordfence – 7.4.2
    Yoast SEO: par Team Yoast – 12.7.1 – Non testé avec la version active de WooCommerce

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: CAD ($)
    Currency Position: right
    Thousand Separator:
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: bundle (bundle)
    course (course)
    external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)

    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 ###

    Base de la boutique: #25099 – /boutique/
    Panier: #25226 – /panier-dachats/
    Validation de la commande: #25234 – /paiement/
    Portail-membre: ? La page ne contient pas le code court.
    Conditions générales de vente et d’utilisation: #25274 – /conditions-generales-de-vente/

    ### Theme ###

    Name: IHumanite
    Version: 1.0.0
    Author URL: https://wpastra.com/about/
    Child Theme: ?
    Parent Theme Name: Astra
    Parent Theme Version: 2.1.4 – 2.3.1 est disponible
    Parent Theme Author URL: https://wpastra.com/about/
    WooCommerce Support: ?

    ### Templates ###

    Overrides: ihumanite/woocommerce/emails/customer-new-account.php

    ### Memberships ###

    Restriction mode:: Redirect to page
    Public content:: –
    Excluded from discounts:: –
    Membership plans:: 2
    Expériences spirituelles membership:: Members: 30Access method: Product(s) purchaseAccess length: Unlimited Subscription: OptionalInstallment plan: No
    Membre gratuit:: Members: 43Access method: User account registrationAccess length: Unlimited Subscription: No

    ### Abonnements ###

    WCS_DEBUG: ? Non
    Subscriptions Mode: ? En direct
    Subscriptions Live URL: https://ihumanite.com
    Subscription Statuses: wc-active: 27
    WooCommerce Account Connected: ? Yes
    Active Product Key: ? No
    Report Cache Enabled: ? Oui
    Cache Update Failures: ? 0 failure

    ### Store Setup ###

    Country / State: Canada — Québec

    ### Subscriptions by Payment Gateway ###

    Stripe: wc-active: 27

    ### Payment Gateway Support ###

    PayPal: subscriptions
    gateway_scheduled_payments
    subscription_payment_method_change_customer
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    products
    refunds

    PayPal Reference Transactions Enabled: ? No
    Stripe: products
    refunds
    tokenization
    add_payment_method
    subscriptions
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    subscription_amount_changes
    subscription_date_changes
    subscription_payment_method_change
    subscription_payment_method_change_customer
    subscription_payment_method_change_admin
    multiple_subscriptions
    pre-orders

    ### Product Bundles ###

    Database Version: 6.0.0
    Template Overrides: –

    ### Action Scheduler ###

    Canceled: 2
    Oldest: 2021-01-05 00:00:00 -0500
    Newest: 2021-01-19 00:00:00 -0500

    Complete: 252
    Oldest: 2020-02-02 14:47:48 -0500
    Newest: 2020-03-04 12:11:29 -0500

    Pending: 27
    Oldest: 2020-03-12 22:08:25 -0400
    Newest: 2021-02-20 14:32:40 -0500

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Support Praveen a11n

    (@spraveenitpro)

    Automattic Happiness Engineer

    Hi @alexannee ,

    Upon checking your status report, I see that you are on outdated versions of both WooCommerce and stripe, having said that this should still not lead to a situation where the refunding of a stripe based order fails. To get deeper into what is really happening here, I will need to collect some details.

    At this point, I think it might be best if you could submit a ticket to us here: https://woocommerce.com/my-account/create-a-ticket/

    This will allow us to get more information about your site that you might not wish to share on a public forum. Specifically, when you submit your ticket, please provide screenshots of the order where you tried to perform refund. I would also ask you to enable logs by going to WooCommerce >> settings >> payments >> stripe >>Logging and enable it followed by re attempting to perform the refund, this will generate some logs at WooComerce >> status >> logs >> stripe, please copy that information and send that too while raising the ticket.

    Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘Error when trying to refund via Stripe’ is closed to new replies.