As you already get `$payment` please re-use that variable.