function initStoreOwnerInfo() { // Checkout storeOwnerInfo. // visible/required. $store_owner_country = modApiFunc('Configuration', 'getValue', SYSCONFIG_STORE_OWNER_COUNTRY); $store_owner_state = modApiFunc('Configuration', 'getValue', SYSCONFIG_STORE_OWNER_STATE); $emulated_post_data = array(); $emulated_post_data["Country"] = $store_owner_country; if (is_numeric($store_owner_state)) { $emulated_post_data["Statemenu"] = $store_owner_state; } else { $emulated_post_data["Statetext"] = $store_owner_state; } Checkout::validateInputForPrerequisite("storeOwnerInfo", $emulated_post_data); }