Skip to content

Commit

Permalink
revert last modifcation
Browse files Browse the repository at this point in the history
  • Loading branch information
fupelaqu committed Aug 4, 2024
1 parent 0be7c76 commit 5fdcb45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ trait MangoPayProvider extends PaymentProvider {
refund.getRefundReason.setRefundReasonType(RefundReasonType.OTHER)
}
refund.setDebitedFunds(new Money)
refund.getDebitedFunds.setAmount(refundAmount + feesRefundAmount.getOrElse(0))
refund.getDebitedFunds.setAmount(refundAmount)
refund.getDebitedFunds.setCurrency(CurrencyIso.valueOf(currency))
refund.setFees(new Money)
refund.getFees.setAmount(0) // fees are only set during transfer or payOut
Expand Down

0 comments on commit 5fdcb45

Please sign in to comment.