If order_total is a variable, and it's already being calculated correctly, it should work as long as it is available in the scope of your script (for more information on scope see https://www.geeksforgeeks.org/scope-of-a-variable/#). If scope isn't the issue and it still isn't working, it may be a syntactical issue, in which case I'd try removing the curly brackets around order_total.