Reply To: Issue with Deposit Function for custom gateway

I have fixed Uncaught TypeError, but sagepay_amount is still not updating. Is there anything else I can try?