Using payment block "quantity" in a condition