How can I add an amount automatically to the payment tool upon a condition?