Payment credit_allowed deducts from offsets

fixes #4403