mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-13 07:29:39 +00:00
Payment/Sixpay: Show possible placeholders
This commit is contained in:
parent
a692adc3c4
commit
f3c60af8d3
@ -112,16 +112,18 @@ class PluginSettingsForm(PaymentPluginSettingsFormBase):
|
||||
description=_(
|
||||
'The default description of each order in a human readable way. '
|
||||
'It is presented to the registrant during the transaction with Saferpay. '
|
||||
'Event managers will be able to override this.'
|
||||
)
|
||||
'Event managers will be able to override this. '
|
||||
'Supported placeholders: {}'
|
||||
).format(', '.join(f'{{{p}}}' for p in FormatField.default_field_map))
|
||||
)
|
||||
order_identifier = StringField(
|
||||
label=_('Order Identifier'),
|
||||
validators=[DataRequired(), FormatField(max_length=80)],
|
||||
description=_(
|
||||
'The default identifier of each order for further processing. '
|
||||
'Event managers will be able to override this.'
|
||||
)
|
||||
'Event managers will be able to override this. '
|
||||
'Supported placeholders: {}'
|
||||
).format(', '.join(f'{{{p}}}' for p in FormatField.default_field_map))
|
||||
)
|
||||
notification_mail = StringField(
|
||||
label=_('Notification Email'),
|
||||
@ -150,13 +152,17 @@ class EventSettingsForm(PaymentEventSettingsFormBase):
|
||||
validators=[DataRequired(), FormatField(max_length=80)],
|
||||
description=_(
|
||||
'The description of each order in a human readable way. '
|
||||
'It is presented to the registrant during the transaction with Saferpay.'
|
||||
)
|
||||
'It is presented to the registrant during the transaction with Saferpay. '
|
||||
'Supported placeholders: {}'
|
||||
).format(', '.join(f'{{{p}}}' for p in FormatField.default_field_map))
|
||||
)
|
||||
order_identifier = StringField(
|
||||
label=_('Order Identifier'),
|
||||
validators=[DataRequired(), FormatField(max_length=80)],
|
||||
description=_('The default identifier of each order for further processing.')
|
||||
description=_(
|
||||
'The default identifier of each order for further processing. '
|
||||
'Supported placeholders: {}'
|
||||
).format(', '.join(f'{{{p}}}' for p in FormatField.default_field_map))
|
||||
)
|
||||
notification_mail = StringField(
|
||||
label=_('Notification Email'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user