killbill / killbill-admin-ui

Kill Bill Administrative UI engine
https://killbill.io
MIT License
52 stars 60 forks source link

Kaui does not allow decimal values in the refund amount ( other than the actual amount ) #406

Open KBbitsP opened 5 months ago

KBbitsP commented 5 months ago

Description : Kaui does not allow decimal values in the refund amount ( other than the actual amount ). So if original invoice is 24.95, then kaui will force me to issue refund for something like 23.95 or 24.95 or 22.95 but not 22.40 etc. The refund API https://killbill.github.io/slate/payment.html#refund-an-existing-payment-using-paymentid has not such restriction though and allows all amounts.

Expected : There should be no restriction on the refund amount and Kaui must allow all refund values upto the invoice value.

image (6)