How to pass a value to the payment field?