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
eppEnv
config 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"
:eppStage
config option is used to resolve EPP properties.testMode
forcibly resolves astrue
.
- If set to
"prod"
:epp
config option is used to resolve EPP properties.testMode
resolves as value specified in the root level of config (eithertrue
orfalse
).
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',
},
}