close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Where is delivery address saved? +other eCart problems relating to address details

Thread began 11/17/2014 6:18 am by Nathon Jones Web Design | Last modified 11/20/2014 2:45 pm by Nathon Jones Web Design | 1129 views | 34 replies

Nathon Jones Web Design

Where is delivery address saved? +other eCart problems relating to address details

Our client has been in touch to say that, upon purchase via a credit/debit card (PayPal Payments Pro), the billing address is being displayed on the confirmation e-mail? I'm confused by this because we don't store the billing address to database, as far as I'm aware. What we store is the delivery address and simply pass the billing address to PayPal....don't we? :(

More confusing still, if a customer pays with their PayPal account the billing address is being saved to database, not the delivery address!

Checking wa_receipt.php, I note this section...

<div style="font-family:Arial, Helvetica, sans-serif; width:514px;">
<div style="border-bottom:solid 1px #F1F0EE; padding-bottom:10px;">
<?php if (!isset($_SESSION["PayPal_ECO_Token"])) { ?>
<h3 style="background-color:#F1F0EE;color: #353C48;padding: 5px 7px;border-top:solid 1px #BABDC2;border-bottom:solid 1px #BABDC2;font-weight:normal;font-size:16px;"><?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','First_Name_2')?"Billing ":""); ?>&nbsp;&nbsp;Delivery Address</h3>
<p style="color:#666666;padding:7px 14px 7px 7px;margin:0;"><?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','First_Name')); ?>&nbsp;<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Last_Name')); ?><br />
<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Address_1')); ?><br />
<?php if (WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Address_2')) { ?><?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Address_2')); ?><br /><?php } ?>
<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','City')); ?><br />
<?php if (WA_getSavedFormValue('CheckoutWizard_Sharp_Default','State')) { ?><?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','State')); ?><br /><?php } ?>
<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Country')); ?><br />
<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Postal_Code')); ?><br />
<?php if (WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Phone_Number')) { ?><br />Telephone: <?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Phone_Number')); ?><?php } ?>
<?php if (WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Company_Name')) { ?><br />Mobile: <?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Company_Name')); ?><?php } ?></p>
<?php } ?>
<?php if (WA_getSavedFormValue('CheckoutWizard_Sharp_Default','First_Name_2')) { ?>
<h3 style="background-color:#F1F0EE;color: #353C48;padding: 5px 7px;border-top:solid 1px #BABDC2;border-bottom:solid 1px #BABDC2;font-weight:normal;font-size:16px;">&nbsp;&nbsp;Delivery Address</h3>
<p style="color:#666666;padding:7px 14px 7px 7px;margin:0;"><?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','First_Name_2')); ?>&nbsp;<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Last_Name_2')); ?><br />
<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Address_1_2')); ?><br />
<?php if (WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Address_2_2')) { ?><?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Address_2_2')); ?><br /><?php } ?>
<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','City_2')); ?><br />
<?php if (WA_getSavedFormValue('CheckoutWizard_Sharp_Default','State_2')) { ?><?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','State_2')); ?><br /><?php } ?>
<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Country_2')); ?><br />
<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Postal_Code_2')); ?><br />
<?php if (WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Phone_Number_2')) { ?><br />Telephone: <?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Phone_Number_2')); ?><?php } ?>
<?php if (WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Company_Name_2')) { ?><br />Mobile: <?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Company_Name_2')); ?><?php } ?></p>
<?php } ?>


Does this look right to you? Why does the first section have:
<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','First_Name_2')?"Billing ":""); ?>

FTP details are provided below. Thank you.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...