#dhaari-Connect

1 messages ยท Page 1 of 1 (latest)

storm flame
#

๐Ÿ‘‹ sorry I was in a MTG, looking now

warped meteor
#

It is ok.

#

Im aware that the refunding of the set value of app fee can be done through api..but not aware of the implementation. Appreciate if you could provide me the samples

#

currently we do refund by using var options = new RefundCreateOptions
{
Charge = "{CHARGE_ID}",
RefundApplicationFee = true,
ReverseTransfer = true,
};

var service = new RefundService();
var refund = service.Create(options);

#

i would like to set the amount value for fee field as well

storm flame
#

Let me clarify a few things first

#

Did you collect the fee using the application_fee_amount? or use the transfer_data[amount]?

#

And you are doing partial refund?

#

Hmm I see. Partial refund will always pro-rate everything based on the partial amount / original amount

warped meteor
#

application_fee_amount

#

fee is collected using application_fee_amount

storm flame
#

Yeah thanks

#

instead of making stripe to calculate the application fee to be refunded while issuing partial refund .

#

Hmm this is the default behavior and I am not aware of a way to change this ๐Ÿค”

#

I need to step out for a while. Later on my colleague would be online to help you. Will noted this internally!

warped meteor
#

ok. waiting for the response..Im aware that we can use application fee refund object. but i would like to combine that feature with the current. any code sample will be of great help

median hinge
warped meteor
#

getting page not found error

median hinge
#

yeah I messed up the URl