Update the amount using a preprocessing, then use a post directive to auto refresh the screen.
dsHolder code example – modify to your needs for the order.