Merge tag {payment_amount}
Payment amount. The payment amount, in the entry's currency. Add :raw for the plain number.
On the test entry, {payment_amount} gives $33.50.
| Product | GravityView |
|---|---|
| Requires | GravityView 1.16 or later |
| Needs an entry | Yes. Its value comes from a form entry. |
Modifiers
What to show
| Modifier | Description | Requires |
|---|---|---|
raw | Unformatted amount. Use it alone; with other modifiers, it is ignored. | GravityView 1.16 or later |
Examples
Output from the real plugin code, run on 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 |