Advanced Display Options

There are a number of options to control the appearance of the Smart Checkout.

In general, there are two ways to set these options. You can ask our friendly help desk to set some options statically per contract. Or you can pass the options during the creation of the Smart Transaction. Options passed to the Smart Transaction are only effective for this particular transaction.

First an overview about the options:

Option

Contract Setting

Transaction Attribute

show basket (instead of total sum)

yes

headline above basket

yes

basket_title

project name

yes

project_title

project logo

yes

payment hint (2-column info table)

payment_hint

headline above payment hint

yes

payment_hint_title

language

yes

language

formal or informal speech

yes

submit button label

yes

submit_button_title

cancel button label

cancel_button_title

primary design color (HTML color)

yes

hide disclaimer

hide_disclaimer

has accepted disclaimer

has_accepted_disclaimer

Example of a Smart Transaction:

{
...
"merchantRef": "500015241",
"transactionRef": "Müller Sep/25/2020-Sep/29/2020",
"application_context": {
"iframe_opts": {
"payment_hint_title": "Infos zu deiner Reservierung",
"payment_hint": [
{
"type": "name-value",
"value": {
"name": "Reisedatum:",
"value": "25.09.2020 - 29.09.2020"
}
},
{
"type": "name-value",
"value": {
"name": "Personen:",
"value": "2 Erwachsene, 2 Kinder"
}
},
{
"type": "name-value",
"value": {
"name": "Zimmer:",
"value": "Appartment gehoben"
}
},
{
"type": "name-value",
"value": {
"name": "Reservierungsnummer:",
"value": "500015241"
}
},
{
"type": "name-value",
"value": {
"name": "Gesamtpreis:",
"value": "228,00 EUR"
}
},
{
"type": "name-value",
"value": {
"name": "Anzahlung 20 %:",
"value": "45,60 EUR"
}
}
],
"submit_button_title": "Kostenpflichtig buchen!",
"cancel_button_title": "Zurück zur Reiseansicht",
"language": "de_DE",
"hide_disclaimer": true,
"has_accepted_disclaimer": true
}
},
...
}

Here the visual outcome:

images/download/thumbnails/97374248/image2020-3-27_17-2-47.png

Explanation of the application context attributes:

Attribute

Type

Description

1

basket_title

string

Replace the headline of the basket with a custom one. Only effective in the Smart Checkout and only when the basket is shown instead of the order total (contract option).

2

project_title

string

Display project name above the order total or the basket. Intented for crowd funding projects, etc. Only effective in the Smart Checkout.

3

payment_hint

array

Two-column info table. It can be used to explain the partition of the funding shares, etc.

4

payment_hint_title

string

Replace the headline of the payment hint with a custom one.

5

language

string

The locale of the Smart Checkout.

6

submit_button_title

string

Replaces the text of the submit button of the payment page.

7

cancel_button_title

string

Replaces the text of the cancel button of the payment page.

8

hide_disclaimer

boolean

Hides the assignment note. The merchant needs to set has_accepted_disclaimer to enable this functionality.

9

has_accepted_disclaimer

boolean

Needed to unlock hide_disclaimer. ...