Introduce the variable $storeId in the methods getXmlUsername() and getXmlPassword within the specified class.
Incorporate the $storeId parameter into the username and password requests within the inquiry() function of \Sapient\Worldpay\Model\Request\PaymentServiceRequest::inquiry().
Modify the behaviour of the getStoreId() method in the \Sapient\Worldpay\Model\Order::getStoreId() class to return the Store ID of the order, considering that Payment objects do not have an associated StoreId.
Replace references to $worldPayPayment->getStoreId() with $order->getStoreId() in the getPaymentUpdateXmlForOrder() function of \Sapient\Worldpay\Model\Payment\Service, which invokes the inquiry() function.
Fix for #135
Introduce the variable $storeId in the methods getXmlUsername() and getXmlPassword within the specified class.
Incorporate the $storeId parameter into the username and password requests within the inquiry() function of \Sapient\Worldpay\Model\Request\PaymentServiceRequest::inquiry().
Modify the behaviour of the getStoreId() method in the \Sapient\Worldpay\Model\Order::getStoreId() class to return the Store ID of the order, considering that Payment objects do not have an associated StoreId.
Replace references to $worldPayPayment->getStoreId() with $order->getStoreId() in the getPaymentUpdateXmlForOrder() function of \Sapient\Worldpay\Model\Payment\Service, which invokes the inquiry() function.