Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Membership › Stripe error when refunding
- This topic has 7 replies, 2 voices, and was last updated 5 years, 5 months ago by sdel_nevo.
- AuthorPosts
- May 31, 2019 at 7:27 am #65150sdel_nevoParticipant
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 stripecustomer purchase a product for £10
then requests a refund – partial (and enters 10) for the value
the refund goes through correctlya 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. - June 1, 2019 at 9:18 pm #65469WCFM ForumMember
Hi,
What you have set “Stripe Split Pay Mode” at WCFM Admin Setting -> Withdrawal Setting – https://ibb.co/x8ystqC
Thank You
- June 1, 2019 at 9:28 pm #65470sdel_nevoParticipant
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
- June 2, 2019 at 5:35 pm #65553sdel_nevoParticipant
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
- June 2, 2019 at 6:51 pm #65569WCFM ForumMember
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
- June 2, 2019 at 6:53 pm #65571sdel_nevoParticipant
Hi guys
That’s brilliant many thanks for this
Steve
- June 2, 2019 at 7:02 pm #65576WCFM ForumMember
You are welcome 🙂
- June 4, 2019 at 7:08 am #65819sdel_nevoParticipant
Hi Guys
tested refunding payments via stripe after the latest update
I can confirm full refunds is working brilliantly 🙂
Many thanks
Steve
- AuthorPosts
- The topic ‘Stripe error when refunding’ is closed to new replies.