#Runayeon

1 messages · Page 1 of 1 (latest)

proven abyssBOT
lunar goblet
#

Has this been renamed to fee_xxxx?

dawn beacon
lunar goblet
#

So it is the fee id with the format fee_xxxx?

#

Because the id has the format fr_xxxx here

dawn beacon
#

This is the application fee refund object, not application fee object. They are different.

lunar goblet
#

So it should be fine if I pass the fee_xxxx value from the payment_intent's latest charge

#

?

dawn beacon
lunar goblet
#

Yeah so, it's paymentIntent.latest_charge.application_fee

#

One final question. The connect merchant wont be notified of the application fee refund correct?

dawn beacon
#

They will get notified if they register to the relevant events

lunar goblet
#

So there is no way around this

#

Is this how other companies operate with stripe fees?

dawn beacon
#

Are you asking about Stripe fee or application fee?

lunar goblet
#

Both? I'm taking 10% so I can account for the different application fee amount.

#

Refunding the difference we take after getting the paymentIntent.latest_charge.balance_transaction.fee value

#

Like differenceToReturn = application_fee_amount - latest_charge.balance_transaction.fee

dawn beacon
#

OK, and is your question still about the app fee refund notification?

#

Are your connected accounts of Express, Custom or Standard?

lunar goblet
#

express

#

yes

#

I just want to know if my connect merchants will be notified that I took more than stripe fees initially

dawn beacon
#

Only Standard accounts can register webhook endpoints. In another words, the express accounts won't get notified.

lunar goblet
#

gotcha

#

thanks

dawn beacon
#

But I'd suggest you to test this flow out in test mode.

lunar goblet
#

wdym

#

I did a test and was able to refund the application fee difference. Is there more I should be doing?

#

Im refunding the moment my presentPaymentSheetRef isnt an error, so instantly after a successful purchase.

dawn beacon
#

I mean you should login to Express account Dashboard and see if the account can see anything related to app fee refunds

lunar goblet
#

Sounds good

#

have a good night / morning wherever you are