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

PayPal buyer address when shipping address different

Thread began 10/17/2019 5:58 pm by paulshoe379536 | Last modified 11/01/2019 12:35 pm by paulshoe379536 | 325 views | 10 replies


PayPal buyer address when shipping address different

When a visitor uses PayPal and changes the shipping address so that it is different than the billing address, some of the values for the billing customer are lost. First name and last name are retained but the address information is the same as the shipping address.

In "pp_confirm.php" I added the code for "First_Name", "Address_1", etc. to the shipping information section as shown by the attached JPG. The first name, last name, and phone number are correct for the buyer but the address lines mimic the "ship to" address (PayPal does not provide for phone numbers on shipping addresses).

What needs to be done to correct this? I would like to have the correct buyer's information as well as the shipping information for my email invoice.

"pp_confirm.php" code clipped below:
<p class="eC_OrderInfo" style="font-size: 120% !important; font-weight: bold;"><?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') !='') {
echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Address_2').'<br />'); } ?>

<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','City')); ?>,&nbsp;<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','State')); ?>&nbsp;<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Postal_Code')); ?><br />
<?php //echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Country_2')); ?><br />
<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Phone_Number')); ?>

<p class="eC_OrderInfo" style="font-size: 120% !important; font-weight: bold;"><?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') !='') {
echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Address_2_2').'<br />'); } ?>

<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','City_2')); ?>,&nbsp;<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','State_2')); ?>&nbsp;<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Postal_Code_2')); ?><br />
<?php //echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Country_2')); ?><br />
<?php echo(WA_getSavedFormValue('CheckoutWizard_Sharp_Default','Phone_Number_2')); ?>

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