Merge tag: {payment_amount}
Payment amount. The entry payment amount, formatted in the entry currency unless :raw is used.
| Product | GravityView |
|---|---|
| Requires | GravityView 1.16 or later |
| Needs an entry | Yes: its value comes from a form entry |
Modifiers
What the merge tag picker offers on this tag.
What to show
| Modifier | Description | Requires |
|---|---|---|
raw | Unformatted amount. The stored number without currency formatting. Compared against the whole modifier string, so it cannot be combined. | GravityView 1.16 or later |
Examples
Rendered by real Gravity Forms and GravityKit PHP against a test entry.
| Merge tag | Output |
|---|---|
{payment_amount} | $33.50 |
With a modifier
| Merge tag | Output | Without the modifier |
|---|---|---|
{payment_amount:raw} | 33.50 | $33.50 |
{payment_amount:raw}Rendered against an entry nine days older, where the result differs. | 15.00 | $33.50 |