#doowire-connect-refund

1 messages · Page 1 of 1 (latest)

untold skyBOT
vivid light
#

@steady saffron Do you have a bit more details? What type of fund flows are you using? Destination Charges? What type of connected account? Standard, Custom or Express?

#

doowire-connect-refund

steady saffron
#

I am not familiar with all of those terms to be completely honest. I am using Express accounts.

vivid light
#

Okay so if you use Express accounts, the owner of the account has no control over this. There's no Dashboard/UI flow where they can refund a specific payment.
As a platform you have to build support for this feature in your own UI/code right?

steady saffron
#

The basic rundown of my program is that one person, the owner, can create a group (this group is a product). People can purchase the product/group to join the group. The owner of the group has a dashboard where he can click "refund", which refunds the person and kicks them out of the group.

#

What type of account should I be using to accomplish this?

vivid light
steady saffron
#

Ok, so let's say I stick with express accounts. It is not possible to refund people who purchase the group?

vivid light
#

It's totally possible to refund

#

Sorry, I'm struggling to help as you seem quite lost and you haven't really shared anything actionable about your integration

steady saffron
#

My issue is that in the "payments" section of the Stripe I can see the refund go through. However, this refund does not lower the balance of the Stripe Connect account, as the charge on their account is still seen as "succeeded"

vivid light
#

Those are just pictures though. I'm sorry, I'm a developer and I help developers with their code and integration. I can't do much with screenshots from the Dashboard. I need you to explain exactly what you did to create that refund, what you see in the API, etc.

https://stripe.com/docs/connect/destination-charges#issuing-refunds in our docs explain how to do refunds with destination charges

steady saffron
#

Here is my create-refund api

vivid light
#

Perfect so you are refunding on the platform and you pull the funds from the platform. You never passed reverse_transfer: true which is required to pull funds back from the connected account, which is in the doc I linked above

steady saffron
#

Perfect. One more question

#

I charge an application fee ($2) for joining the group in the checkout session.

#

I want to make sure I do not refund that. For example, if the group costs $10 to join, it really is $12. $10 go to group owner, $2 go to me (platform owner).

#

I want the $10 to be refunded, but I still want me (the platform) to keep the $2 application fee

vivid light
#

Please don't share pictures. We're both developers. Share the exact relevant code as text (not the entire thing just the Stripe parts) if you need to share. You can wrap it between three ` to format it

steady saffron
#

Right, so the application fee is not refunded. So do I give a full $12 refund?

vivid light
#

That's up to you what you do here. If you refund $12 then $12 goes back to the Customer. If you want to keep a portion they you refund only a portion

steady saffron
#

I am stuck on the math for some reason lol.

#

The customer covers the $2 application fee.

#

So a $10 group is really $12 for them

#

For me to keep the $2, then shouldnt i give a partial refund of $10

#

Or will that end up leaving me with $4

#

Sorry if this is so confusing

vivid light
steady saffron
#

User purchases to join group for $12 --> $10 goes to connected account, $2 (application fee) goes to platform). When a refund is initiated, with reverse_tranfer: true (so the connected account covers the cost of the refund), should $10 be refunded or $12 be refunded

vivid light
#

It depends. Should the end customer get $10 or $12?

steady saffron
#

$10

#

They dont get the $2 application fee they paid for back

#

they only get the group entry fee back

vivid light
#

If the payment is for $12 and you want to refund $10 then you have to explicitly refund $10

steady saffron
#

Ok got it

#

And is there any way to make the connected account pay for the stripe processing fee for refunding

vivid light
#

no

steady saffron
#

Okay

#

Thank you for all of the help

#

I have everything figured out now