CasperLet/Refunds

From CasperTech Wiki
Revision as of 13:49, 17 September 2017 by D1cd5b71-6209-4595-9bf0-771bf689ce00 (talk | contribs) (Created page with "One feature of CasperLet which sometimes causes confusion is refunds. There is a security feature which affects refunds, which often results in landlords thinking that the wr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

One feature of CasperLet which sometimes causes confusion is refunds.

There is a security feature which affects refunds, which often results in landlords thinking that the wrong amount has been refunded, and seems to have resulted in a general consensus (based on comments in the group) that CasperLet refunds are "broken". This is simply not the case.

The basic issue is: CasperLet refunds are granted pro-rata, however, time added via a manual adjustment on the website is not considered as part of this.

This is an important security consideration, to help protect you. Without it, a malicious manager could rent a rental unit, add years of time to it, and then perform a refund, thereby emptying your account.

Example

"Hello - i have set the rentbox for daily payment 28L - a tenant had rent for a lot of days - and now the Tenant have 4 days and 5 hours remaining time - i clicked "+refund" but the rentbox paid 18L$ only - please why pay (refund) the rentbox not exactly? it is a example only - my other rentboxrs with high-Value-rent do also pay the wrong refund!"

In this case, the rental log showed:

2017-08-26 19:58:41 - Customer paid L$182 to start the rental
2017-08-29 17:17:00 - Landlord added extra time to the rental (time adjustment from website) - NOT COUNTED
2017-08-31 16:34:00 - Customer added L$182 to the rental
2017-09-05 20:14:26 - Customer added L$26 to the rental
2017-09-06 17:47:49 - Customer added L$182 to the rental
2017-09-15 14:05:32 - Tenancy terminated, L$18 refunded

Here's how the system worked out the maximum payable refund:

Amount paid by the tenant - L$572
Rental cost: L$28 per day
Rental commenced on: 26th August
Rental refunded on: 15th of September

Rental lasted for: 19.78 days. 19.78 x L$28 = L$554

So amount refundable is L$18

Workaround

If you wish to grant extra time to a rental and also allow that time to be refundable then you need to pay the rental unit in-world. This will always be tracked as a genuine payment, and it's secure because any malicious manager would need to pay the money in, in order to receive the refund.