removes unecessary code and adds link to payment settings page