HiPay - Bug fix

Patch to fix issues with new PHP version