data: fix bug in quickpay cost function