How can I create a total from a matrix and then update that value into a payment form?