Change the display name of order total
For changing order total, this line

// Replace ORDER TOTAL text as per your requirement.
$components['commerce_price_formatted_amount']['title'] = t('ORDER TOTAL');


should be added inside your above mentioned function. Check if it works.