replaced $location useage for cancel payment with i18nLocation.