Stripe error when refunding

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 7 reply threads
  • Author
    Posts
    • #65150
      sdel_nevo
      Participant

      Hi Guys

      we only use stripe split pay as our payment gateway

      we do not take any commission we pass 100% of everything to the vendor

      when testing refunds

      if the customer selects (full refund) which they will stripe refunding fails with this error

      {
      “error”: {
      “message”: “Attempting to refund_application_fee on ch_1Eg4dlDeGKxNi9PHCz4gam4E, but it has no application fee”,
      “type”: “invalid_request_error”
      }
      }

      if the customer requests a partial refund then enters the full amount the refund work

      for example

      if a customer purchases a product for £10
      then requests a refund – full
      refund fails in stripe

      customer purchase a product for £10
      then requests a refund – partial (and enters 10) for the value
      the refund goes through correctly

      a customer will always request a full refund as they want their money back

      I can see this becoming an issue

      if a sales commission is collected by us, then a full refund works correctly

      Steve

      Attachments:
      You must be logged in to view attached files.
    • #65469
      WCFM Forum
      Member

      Hi,

      What you have set “Stripe Split Pay Mode” at WCFM Admin Setting -> Withdrawal Setting – https://ibb.co/x8ystqC

      Thank You

    • #65470
      sdel_nevo
      Participant

      Hi guys

      Yes that correct split pay mode is enabled with direct charges

      The error is created when refunding full payments when no charges 100% of the tr@ns@ction is passed to the vendor

      The refund fails with the error in the first post

      Steve

    • #65553
      sdel_nevo
      Participant

      Hi guys

      Sorry just read back my reply, I typed that on my iPad and it makes no sense lol

      Yes we are using split pay with direct charges as per your screen shot

      We pass 100% of the sale, tax and shipping to the vendor

      The error is created when trying in refund in full.

      When doing a partial refund and entering the full amount the refund is successfully passed and processed in stripe

      Steve

    • #65569
      WCFM Forum
      Member

      Hi,

      Please add this to your site –

      add_filter( 'wcfm_is_allow_stripe_refund_application_fee', '__return_false' );

      Well, this will work after next update.

      Thank You

    • #65571
      sdel_nevo
      Participant

      Hi guys

      That’s brilliant many thanks for this

      Steve

    • #65576
      WCFM Forum
      Member

      You are welcome 🙂

    • #65819
      sdel_nevo
      Participant

      Hi Guys

      tested refunding payments via stripe after the latest update

      I can confirm full refunds is working brilliantly 🙂

      Many thanks

      Steve

Viewing 7 reply threads
  • The topic ‘Stripe error when refunding’ is closed to new replies.