#ssbb-application-fee-refund

1 messages ยท Page 1 of 1 (latest)

supple isle
#

Hi ๐Ÿ‘‹ I'm not sure I'm understanding your concern, could you share the IDs of related objects so I can take a closer look?

unreal terrace
#

Hi @supple isle !

For example this test mode payment ch_3LDAz0KuJhxWGTJC1fhPBJPZ

So I created a refund re_3LDAz0KuJhxWGTJC15vfOwnP with refund_application_fee flag set to true. So because of this Stripe refunded application fee automatically so there is fr_1LGS9aKuJhxWGTJCqp1NwKMd fee refund

#

What I am trying to do is to know that this fee refund created because of this payment refund

#

Just like we have balance_transaction.fee field on refund to see that Stripe refunded part of their fee because of refund - I want to know the same for application fee refunds

#

So all I want to know is that fr_1LGS9aKuJhxWGTJCqp1NwKMd created because of re_3LDAz0KuJhxWGTJC15vfOwnP (since I set refund_application_fee=true).

Eg if I have 5 refunds there is 5 app fee refunds as well so need to associate all of this somehow

supple isle
#

Really sorry about the delay, thank you for the additional context. Taking a look.

supple isle
unreal terrace
#

๐Ÿ˜ฆ

#

You know refund_application_fee flag for refunds right?

supple isle
unreal terrace
#

eg there is 10 refunds. and I set refund_application_fee=true only for 5 of them

#

so now I have 5 application fee refunds and 10 refunds. and I want to know how much application fee was refunded for each refund (it's $0 for 5 and some other values for other 5)

supple isle
#

Not sure off the top of my head, will need to do another round of digging to see if that is possible.

visual dune
#

Hi, noting here that I'm currently further investigating this and will get back to you as soon as I find something to share

unreal terrace
#

Sure, thank you!

visual dune