Fix for compatibility with shop 1.0 omnipay integration