The string is generated from order parameters with semicolon as delimiter.
For merchants using the standard interface, the following parameters are included in the string:
Merchant _ ID;OrderNumber;OrderAmount;OrderCurrency
If the merchantuses any additional parameters, then the string is generated according to the following rules:
- fields are added to the main string through the delimiter in the order specified in the table below;
- fields are included in the string only if they are transferred in the order and have nonzero values;
- if the parameter is not transferred in the order or the value 0 is transferred, then both the parameter and the delimiter are not added to the string.
The addition order of parameters to the string
Addition order | Parameter name | Description |
1 | OrderMaxPoints | Maximum amount of order that can be payed by bonus points (by THANK YOU from Sberbank Bonus Program), this parameter is not used for silentpay. |
2 | CustomerNumber | Merchant's internal customer identification for the One Click program, this parameter is not used for silentpay. |
3 | Disable3DS | Flag of disabling 3-D Secure |
4 | Prepayment | Prepayment amount, this parameter is not used for silentpay. |
Examples
1. OrderMaxPoints parameter is transferred in the order with a non-zero value. In this case, the string will look like this:
Merchant_ID;OrderNumber;OrderAmount;OrderCurrency;OrderMaxPoints
2. CustomerNumber parameter is transferred in the order with a non-zero value. In this case, the string will look like this:
Merchant_ID;OrderNumber;OrderAmount;OrderCurrency;CustomerNumber
3. OrderMaxPoints parameter is transferred in the order with a zero value and Disable3DS parameter is transferred in the order with a non-zero value. In this case, the string will look like this:
Merchant_ID;OrderNumber;OrderAmount;OrderCurrency;Disable3DS