Im trying to create a custom module that handles values by store view level.
Anyway if the user does not select anything i want to get the default scope value at website level, im doing this in a multistore setup.
This is what i have already:
$data = $this->scopeConfig->getValue("payment/get_section/$section/$field");
Im getting the field with this set up at store view level because i think this is the default scope.
I have already tried by adding:
ScopeInterface::SCOPE_WEBSITE but im still getting the same value as before, the store view value, any ideas?