[FEATURE] set sent/non-validated txns to pending in db

In the outgoing payment process, when a payment is sent, this feature sets the payment to pending in the db to avoid potential double spending.
use camelCase for all variables.