I have a payment module used in Magento 2 backend order creation.
In Magento 2 the administrator first chooses the store where the order is to be created. However, when reading configuration I always get configuration from store 1.
Also using \Magento\Store\Model\StoreManagerInterface
I always get store ID 1
.
How can I find out which store the order is being created to?
Thanks.