Fix getting worldpay url logic