Add support for refund
This commit is contained in:
parent
c2538647c6
commit
8ad6185239
@ -158,8 +158,6 @@ func handleWebhook(w http.ResponseWriter, r *http.Request) {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// record transfer fee
|
|
||||||
if monobankTransaction.Data.StatementItem.CommissionRate > 0 {
|
if monobankTransaction.Data.StatementItem.CommissionRate > 0 {
|
||||||
firefly3Transactions = append(firefly3Transactions, firefly3.TransactionSplitStore{
|
firefly3Transactions = append(firefly3Transactions, firefly3.TransactionSplitStore{
|
||||||
Type_: &firefly3TransactionTypeWithdrawal,
|
Type_: &firefly3TransactionTypeWithdrawal,
|
||||||
|
Loading…
Reference in New Issue
Block a user