EPMS config
You can define options separately for "stage" and "prod" EPMS environments
and specify the environment itself using epmsEnv config option.
When debug option is enabled, there is a section "Debug → EPP/EPMS configs"
below the widget, where you can:
- Switch
epmsEnvconfig option value for testing purposes. - Explore resolved EPMS config (also accessible in the browser console as a
computed getter
rnw.tamaro.instance.epmsConfig)
Switching epmsEnv config option value:
- If set to
"stage":epmsStageconfig option is used to resolve EPMS properties.testModeforcibly resolves astrue.
- If set to
"prod":epmsconfig option is used to resolve EPMS properties.testModeresolves as value specified in the root level of config (eithertrueorfalse).
It's possible to use conditions:
- For EPMS properties in
epmsandepmsStageconfig options. - For each specific
paymentMethodProfileparameter inepmsandepmsStageconfig options.
Example:
Default values, if not explicitly specified, are:
{
epmsEnv: 'stage',
epms: {
secureFieldsHandler: 'datatrans',
},
epmsStage: {
accountUuid: 'd71de4f6-e466-40dc-84ce-c1ce20b29b08',
secureFieldsHandler: 'datatrans',
},
}