Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal Website Payments Pro, UK Edition showing delivery address twice on checkout_confirmation page


rjckicks1

Recommended Posts

Hi,

 

I have the PayPal Website Payments Pro, UK Edition module installed and it shows the delivery address twice on the checkout_confirmation page.

 

You can see the example here -

 

http://img265.imageshack.us/img265/1564/bugrn6.png

 

It seems to be because of this code -

 

<? //---PayPal WPP Modification START ---//-- ?>
<?php if ($ec_checkout && $ec_enabled && empty($_SESSION['paypal_ec_markflow'])) { ?>
			<td class="main"><?php echo '<b>' . HEADING_DELIVERY_ADDRESS . '</b> <a href="' . tep_href_link(FILENAME_EC_PROCESS, 'clearSess=1', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>		
<?php } else { ?>
			<td class="main"><?php echo '<b>' . HEADING_DELIVERY_ADDRESS . '</b> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
<?php } ?>
<? //---PayPal WPP Modification END ---//-- ?>

 

I removed part of the code and made it this and the second delivery address goes away -

 

<? //---PayPal WPP Modification START ---//-- ?>
<?php if ($ec_checkout && $ec_enabled && empty($_SESSION['paypal_ec_markflow'])) { ?>
			<td class="main"><?php echo '<b>' . HEADING_DELIVERY_ADDRESS . '</b> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
<?php } ?>
<? //---PayPal WPP Modification END ---//-- ?>

 

But won't doing this mess up the paypal checkout function or is it ok to do this? If not what is the correct way to fix the delivery address bug that displays the 2 delivery addreses and squeezes the text?

 

Thanks for your help

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...