Support

Home Forums Event Espresso Premium Invoices

Invoices

Posted: July 17, 2018 at 1:34 pm


theoferrall

July 17, 2018 at 1:34 pm

Our invoices are not populating our address at the top of the PDF. Under where it says Building Congress & Exchange.

Also, What do you recommend for a field that would populate on the invoice of the person registering vs. the person attending? My name is Rachel Robbins and I am registering Tim O’Ferrall and Elisabeth Wainwright to attend the Summer Social, but I would like the invoice addressed to Rachel Robbins to pay for Tim and Elisabeth. Can we populate that automatically or do we have to do it manually?


Josh

  • Support Staff

July 17, 2018 at 2:16 pm

Hi,

re: your first question, have you gone to Event Espresso > Payment Methods > Invoice Settings and completed the Payee fields there?

re: your second question. If you’re capturing the name of the registrant as a custom question (e.g. a question on the registration form named “Billing Contact”) you can make an edit like this to the Invoice template:

<h2>Bill To:</h2>
<div>[PRIMARY_REGISTRANT_ANSWER_*Billing Contact]</div>


theoferrall

July 18, 2018 at 7:26 am

unfortunately, we are using the older version of Event Espresso so Event Espresso > Payment Methods > Invoice Settings is not an option for us and the same with the second answer.


Josh

  • Support Staff

July 18, 2018 at 8:03 am

May I ask which version of Event Espresso exactly?


theoferrall

July 18, 2018 at 8:15 am

Version Event Espresso – 3.1.37.12.P


Josh

  • Support Staff

July 18, 2018 at 8:20 am

Oh I see.

You’ll need to upgrade to EE4 to get the option to edit the Invoice template.

For the address, you go to Event Espresso > Payment Settings > Invoice Payment Settings and set the Address to Send Payment field there, then click the update button.


theoferrall

July 19, 2018 at 5:55 am

we have already included the information for the “Address to Send Payment”? It only shows on the payment selection page, not on the actual PDF.

Thank you for your patience with us!


Josh

  • Support Staff

July 19, 2018 at 11:12 am

It should show in both places, unless if someone had altered the code in the invoice template. Have any customizations been made to the invoice.php file located in the /gateways/invoice/ folder?

This is what should normally be starting on line 127:

if (isset($invoice_payment_settings['payment_address'])) {
	$pdf->MultiCell(50, 5, pdftext($invoice_payment_settings['payment_address']), 0, 'L'); //Set address
} else {
	$pdf->MultiCell(50, 5, pdftext(''), 0, 'L'); //Set address
}


theoferrall

July 27, 2018 at 9:07 am

Thank you, could you tell us where we find that information to check to make sure nothing has changed?


Josh

  • Support Staff

July 27, 2018 at 10:39 am

Do you mean information that explains how to access the files on your site so you can view their contents? If so, this guide explains:

https://codex.wordpress.org/FTP_Clients

The files to check are in two potential locations. First, in the Event Espresso 3 plugin folder, in /gateways/invoice. Then also possibly second, in /wp-content/uploads/espresso/gateways/invoice.

If you’re unsure how to check those places, Event Espresso support staff can take a look if you can complete this secure form:

https://eventespresso.com/send-login-details/

The support post ‘Invoices’ 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