ajax call for switching payment method and removed payment view