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


Address Formatting in PP_ECO_PHP.php (PayPal Pro UK)

Thread began 9/01/2009 1:59 am by Dave Buchholz | Last modified 9/01/2009 2:02 pm by Dave Buchholz | 1607 views | 2 replies |

Dave BuchholzBeta Tester

Address Formatting in PP_ECO_PHP.php (PayPal Pro UK)

For your information in function WA_PP_ECO_GetValue starting on line 345 you do not retrieve the street2 value which could lead to issues with delivery as the street2 field is very often used for the village name in the UK and if the street1 address exists in the postal town as well as the village confusion reigns !

I simply added the following code at line 374:

case "STREET2":
$tValue = "SHIPTOSTREET2";

and this then tied in with the session variable being set on pp_confirm.php

if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_shipping_street2"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "Street2") ."";
Sign in to reply to this post

Eric Mittman

Thanks a bunch for the detailed info on this. I have logged a bug for this and included your details and the fix you provided. Thanks again.

Sign in to reply to this post

Dave BuchholzBeta Tester

No problem, just returning the favor for all the help I have been given.

Sign in to reply to this post

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