Changes required to get iOS payments working in panda