Support

Home Forums Event Espresso Premium Extra Address Lines on Billing Information Needed

Extra Address Lines on Billing Information Needed

Posted: July 11, 2014 at 2:40 am


expfarm

July 11, 2014 at 2:40 am

How do we add an additional address line for the billing address on checkout in the Billing Information screen?

We are setting up an event that will have a lot of academics and internationals in attendance, many of them will be using credit cards that have two or three lines for the street address. How do we add additional address lines to the checkout screen?

The current address portion for entering Billing Information is only one street address line, not the two or three we require.

Thank you for your help.


expfarm

July 11, 2014 at 2:41 am

Sorry, I forgot to say, we are using FirstData for our payment gateway.


expfarm

July 11, 2014 at 3:02 am

We are using E3, and the payment gateway is FirstData. We are using Custom Templates.
(sorry for so many entries, there’s no edit option once I’ve submitted my post so I’m adding stuff as I realize I’ve left out info on our configuration)


expfarm

July 11, 2014 at 3:25 am

In digging through the code, I found a file under the Gateways portion called “firstdata_vars.php” … this appears in the following directory:
wp-content > plugins > event-espresso > gateways > firstdata > firstdata_vars.php

I’ve found that I can change the address fields here, but once a new EE3 update comes out my revisions would be overwritten. I did not see my revisions when uploading the firstdata_vars.php document to the templates directory in the uploads folder under gateways…

Additionally, I do not have a credit card with a second or third address line associated with it, so I have no way to know if the bank is receiving the additional address lines when passing the variables in my test purchases. Is this something to contact FirstData about?

I added the following to the firstdata_vars.php document to include the additional address line:

						<p>
							<label for="address2"><?php _e('Address 2', 'event_espresso'); ?></label>
							<input name="address2" type="text" id="fd_address2" class="required" value="<?php echo $address ?>" />
						</p>

Thank you for your help. I appreciate it.


expfarm

July 11, 2014 at 3:34 am

Here is the website: https://eppforum.meetingservicesinc.com/registration/


Tony

  • Support Staff

July 11, 2014 at 8:21 am

Hi Brandon,

When making changes to gateway files you can copy the whole gateway to wp-content/uploads/espresso/gateways/

So you would copy wp-conent/plugins/event-espresso/gateways/firstdata/ to wp-content/uploads/espresso/gateways/firstdata/ and make your changes there. This will keep the files from being overwritten on updates.

Also, within this line:

<input name="address2" type="text" id="fd_address2" class="required" value="<?php echo $address ?>" />

$address is used for the address line 1 previously, you’ll need to check if $address2 is currently declared and use that if so, it may already be included within $data.


expfarm

July 14, 2014 at 12:00 pm

Thanks for the feedback. The client elected to not do this revision before you’d written back. But I wanted to know anyway, so I’m glad you wrote.

The support post ‘Extra Address Lines on Billing Information Needed’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  expfarm 5 years, 5 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!