Support

Home Forums Event Espresso Premium “Please Make a Payment” Link Missing in Downloaded PDF of Transaction Invoice

“Please Make a Payment” Link Missing in Downloaded PDF of Transaction Invoice

Posted: September 5, 2024 at 4:30 am

Viewing 5 reply threads


Mark

September 5, 2024 at 4:30 am

Hi,

In Event Espresso > Registrations , when I check the transaction invoice for unpaid registration, the “Please Make a Payment” link is displayed in the transaction invoice template (as shown here: https://app.screencast.com/Yb64ZLNbzxIdi). This link correctly redirects registrants to the checkout page to complete the transaction.

However, when I download the invoice in PDF format, the “Please Make a Payment” link is missing (as shown here: https://app.screencast.com/f6zgd03oOQZ7H).

I need help in ensuring that the “Please Make a Payment” link is also included in the downloaded PDF version of the transaction invoice.

Note: I also have a staging site available for testing, and if you need login details to analyze this issue, I can provide them.


Tony

  • Support Staff

September 5, 2024 at 5:12 am

Hi there,

That link is included on the Receipt message type.

Go to Event Espresso -> MEssages -> Default Message templates.

Find the Receipt message type and click the ‘Recipient’ link to edit it.

In the main content, switch to Text mode and scroll down to find [OWING_STATUS_MESSAGE_*]

Thats the shortcode that outputs that link with a class of noPrint so its removed from the PDF. You’ll need to replace that with your own link, something like:

<a href="[PAYMENT_URL]">Please make a payment.</a>

Like this: https://monosnap.com/file/Vnahsvf2SySCt1Vcssgr89N60eNkxL

Note I’ve left both lines in place but you’ll only want one of those and will end up with something like:

<td class="aln-cntr" colspan="6"><a href="[PAYMENT_URL]">Please make a payment.</a></td>

Save that and reopen a receipt… it should now show the link in the PDF.


Mark

September 6, 2024 at 1:19 am

The template for transaction invoices is the Invoice message template, not the Receipt message template. I confirmed this by checking the ID assigned to the templates (See here: https://app.screencast.com/eZIgBBafW7pbu ).

Thank you for the detailed explanation! I’ve implemented the suggested changes in the “Invoice” message template (Text mode).

While the changes appear correctly in the template preview, the custom template with the “[PAYMENT_URL]” link isn’t reflected in the transaction invoice for registrations.

Could you please guide me on how to assign the custom template I modified to individual registrations or all registrations as needed? I suspect the default template might be overriding my custom one.


Tony

  • Support Staff

September 6, 2024 at 3:27 am

The template for transaction invoices is the Invoice message template, not the Receipt message template. I confirmed this by checking the ID assigned to the templates (See here: https://app.screencast.com/eZIgBBafW7pbu ).

Ah.. ok.. by default, the Invoice does not include a payment link (only the receipt) so that must have been manually added to your site’s template.

Could you please guide me on how to assign the custom template I modified to individual registrations or all registrations as needed? I suspect the default template might be overriding my custom one.

So you’ve added your changes to a custom template?

If your using a custom template you need to assign the template to the event(s) related to the registrations.

Edit an event and look for the Notifications section, assign your custom template for Invoice there and save:

https://monosnap.com/file/MG26PTaNbTqE86bN42PXeEi4MeJkee

The change should then apply to the registrations (you’ll need to refresh the registration list and open up the Invoice link again, the ID for the template will have changed in the link, you can’t just refresh a current invoice link to see the change).

If you want this to apply to all registrations I’d recommend editing the default/global template so you don’t need to assign a custom template to every event you create.


Mark

September 7, 2024 at 12:34 am

Thank you so much for your guidance! I am grateful to you that the “Please Make a Payment” link is now displaying correctly in the downloaded PDF of the registration transaction invoice.

See : https://app.screencast.com/tMUyNUZvORhFA


Tony

  • Support Staff

September 9, 2024 at 3:21 am

Awesome, I’m glad it worked.

Any further questions just let us know.

Viewing 5 reply threads

The support post ‘“Please Make a Payment” Link Missing in Downloaded PDF of Transaction Invoice’ 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