1.7 KiB
layout, title, nav
| layout | title | nav | ||
|---|---|---|---|---|
| default | transaction |
|
transaction
The transaction object has the following attributes:
{% anchor_link "transaction.id", "transaction-id" %}
Returns the id of the transaction.
{% anchor_link "transaction.amount", "transaction-amount" %}
Returns the amount of the transaction. Use one of the money filters to return the value in a monetary format.
{% anchor_link "transaction.name", "transaction-name" %}
Returns the name of the transaction.
Input
Output
{% anchor_link "transaction.status", "transaction-status" %}
Returns the status of the transaction.
{% anchor_link "transaction.created_at", "transaction-created_at" %}
Returns the timestamp of when the transaction was created. Use the date filter to format the timestamp.
{% anchor_link "transaction.gateway", "transaction-gateway" %}
Returns the name of the payment gateway used for the transaction.
Input
Output
{% comment %} not including 'kind' and 'receipt' for now. No info can be found on these {% endcomment %}