Transaction Approval Cronto Message Provider
Description
This message provider creates a customizable transaction approval message for Cronto using the Parameters received in the Transaction Approval Parameter Step. The message template is identified by the message translation key and may contain variables that will be replaced with parameters from the Parameter Step.
May be used by
Properties
Message Translation Key (
messageTranslationKey) Description
This key identifies the message template that is used to generate the message. It can contain variables, e.g. 'cronto.${type}.message'. Variables are replaced with the corresponding values sent in the Transaction Approval Parameter Step. This allows using different message templates for different transaction types. For more information about formatting, consult the description in the strings_*.properties located at instances/common/transaction-approval-texts.
Attributes
String
Mandatory
Example
cronto.payment.message
Push Title Resource Key (
pushTitleResourceKey) Description
Resource key to select the localized template to display the push title. The localized template can contain variables (e.g.
${town}). Attributes
String
Optional
Default value
cronto.push.transaction-signing.title
Push Subject Resource Key (
pushSubjectResourceKey) Description
Resource key to select the localized template to display the push subject. The localized template can contain variables (e.g.
${town}). Attributes
String
Optional
Default value
cronto.push.transaction-signing.subject
Cronto Handler (
crontoHandler) Description
The Cronto handler used to generate the message. This needs to be the same handler as in the Cronto Step where this Message Provider is used in.
Attributes
Plugin-Link
Mandatory
Assignable plugins
Amount Label Key (
amountLabelKey) Description
This key identifies the translation of the amount label (see message provider description).
Attributes
String
Optional
Default value
cronto.amountLabel
Amount Parameter Name (
amountParameterName) Description
This parameter name identifies the variable form the Transaction Approval Parameter Step that represents the amount. If left empty, no amount is set in the transaction details.
Attributes
String
Optional
Currency Parameter Name (
currencyParameterName) Description
This parameter name identifies the variable form the Transaction Approval Parameter Step that represents the currency. If left empty, no currency is set in the transaction details.
Attributes
String
Optional
YAML Template (with default values)
type: CrontoMessageProviderImpl
id: CrontoMessageProviderImpl-xxxxxx
displayName:
comment:
properties:
amountLabelKey: cronto.amountLabel
amountParameterName:
crontoHandler:
currencyParameterName:
messageTranslationKey:
pushSubjectResourceKey: cronto.push.transaction-signing.subject
pushTitleResourceKey: cronto.push.transaction-signing.title