Support

Home Forums Event Espresso Premium EE4 – [AMOUNT_PAID] shortcode within 'Registration Approved' Message

EE4 – [AMOUNT_PAID] shortcode within 'Registration Approved' Message

Posted: June 29, 2017 at 9:22 am


Creative2

June 29, 2017 at 9:22 am

Hey there,

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.

I found this post: https://eventespresso.com/topic/email-messages-0-00/#post-185169 that suggests the [AMOUNT_PAID] shortcode wasn’t made for this template and that we should be using [TOTAL_AMOUNT_PAID] instead.

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).


Josh

  • Support Staff

June 29, 2017 at 2:55 pm

Hi there,

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.

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.

Event Espresso