I see the problem. I had you use:
because you had used that function before and were familiar with it. However that also adds the "$" which paypal will reject.
You will have to update that on all of the lines I had you updated previously.