Functional description
Difficulty level:
Payments variables
This section describes the variables available for the payments of a booking. Payments are output with the payments array inside a loop. The control variable {S_PAYMENTS} indicates whether the payments table is populated.
Note: using these variables requires knowledge of how detail rows work. See the example at the bottom of this article.
Start code: <!-- BEGIN payments -->
End code: <!-- END payments -->
| Variable | Description | Example |
|---|---|---|
| {payments.STATUSCODE} | Statuscode | |
| {payments.TRANSACTIONID} | Transaction ID | |
| {payments.PRICE} | Price | |
| {payments.CURRENCY} | Currency | |
| {payments.REMARKS} | Remarks | |
| {payments.DATE} | Date | |
| {payments.DESC} | Description | |
| {payments.LONG_DESC} | Long description | |
| {payments.STATUSDESC} | Status | |
| {payments.FORMAT_PRICE} | Price in the configured currency format | |
| {payments.STATUSLONGDESC} | Status long description | |
| {payments.METHOD} | Payment method |
An example of a table with rows:
<table align="center" border="1" cellpadding="0" cellspacing="1" style="width:100%">
<tbody>
<tr>
<td>Datum</td>
<td>Omschrijving</td>
<td>Methode</td>
<td>Status</td>
<td>Bedrag</td>
</tr>
<!-- BEGIN payments -->
<tr>
<td>{payments.DATE}</td>
<td>{payments.DESC}</td>
<td>{payments.METHOD}</td>
<td>{payments.STATUSDESC}</td>
<td>{payments.FORMAT_PRICE}</td>
</tr>
<!-- END payments -->
</tbody>
</table>


