I have [AMOUNT_PAID] at the top of a ‘Registration Approved’ template that goes to the Event Admin (this info along with the last 4 digits of the credit card number was requested by the client).
[AMOUNT_PAID] is showing up as $0.00 even though the registrant has paid (and the registrant received the ‘Payment Received’ e-mail that hast he same [AMOUNT_PAID] tag in it with the proper value).
I’ve run a few tests for $1.00 events where the [AMOUNT_PAID] value shows up appropriately with $1.00 as it should.. but it seems all other events show as $0.00.
Can someone confirm this is correct and that [TOTAL_AMOUNT_PAID] is not showing me the total the user has paid indefinitely over all events (not just the payment related to this registration).
This information comes from the Help > Shortcodes tab on the edit messages page:
[AMOUNT_PAID]
The amount paid or refunded. This will only have a value if there was a payment or refund at the time of generating the message.
[LAST_AMOUNT_PAID]
This is the last payment or refund made on the transaction related to the message being generated.
[TOTAL_AMOUNT_PAID]
This parses to the total amount paid over all payments
So the reason that AMOUNT_PAID shows 0 in the context of a registration approved message is because the payment happened on a different request. LAST_AMOUNT_PAID is useful if there are multiple payments for that transaction. That might be the one your client actually wants, but TOTAL_AMOUNT_PAID will show the total amount paid for the registration associated with the message being sent at that time. So for example if they initially paid a deposit for the tickets, then later paid in full, it would show the total amount paid for the tickets listed in the message.
Viewing 1 reply thread
The support post ‘EE4 – [AMOUNT_PAID] shortcode within 'Registration Approved' Message’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.