How to pass a field's value to payment field?