EPP config
You can define options separately for "stage" and "prod" EPP environments
and specify the environment itself using eppEnv config option.
When debug option is enabled, there is a section "Debug → EPP/EPMS configs"
below the widget, where you can:
- Switch
eppEnvconfig option value for testing purposes. - Explore resolved EPP config (also accessible in the browser console as a
computed getter
rnw.tamaro.instance.eppConfig)
Switching eppEnv config option value:
- If set to
"stage":eppStageconfig option is used to resolve EPP properties.testModeforcibly resolves astrue.
- If set to
"prod":eppconfig option is used to resolve EPP properties.testModeresolves as value specified in the root level of config (eithertrueorfalse).
It's possible to use conditions for all EPP properties in epp and eppStage config options.
Example:
Default values, if not explicitly specified, are:
{
eppEnv: 'prod',
epp: {
apiKey: '1234567890',
merchantId: '1234567890',
},
eppStage: {
apiKey: '1234567890',
merchantId: '1234567890',
},
}