close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Last Name not showing up on PayPal shipping details page

Thread began 10/04/2009 6:19 pm by david353947 | Last modified 10/07/2009 12:18 pm by david353947 | 3973 views | 8 replies

Eric Mittman

The API username and password must be updated all around on all checkout pages. The best way to do this is to do a global find and replace for the entire site. Look for the old API username and update it with the new one then repeat it for the API signature, just find the old one and replace it with the new one.

These should be located on the checkout, confirm, pp_confirm pages and may also be present on other pages. Doing the site wide find and replace should get it working for you. If you have further problems with it you should add in the checkout responses for the page you are working on and view the full request and full response, PayPal should let you know what the problem is in the response.

As for the shipping first and last name if you would like to concatenate the two you would replace lines 350 and 351 with these:

php:
$PP_DirectPayment_optional[0][$nextIndex] = "SH_Name";

  $PP_DirectPayment_optional[1][$nextIndex] = "".((isset($_POST["shipping_firstname"]) && isset($_POST["shipping_lastname"]))?$_POST["shipping_firstname"] . " " . isset($_POST["shipping_lastname"]:"")  ."";



This is the same code but it is also checking the last name. If both are present then they will be combined into the one value.

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

Content

rating

Layout

rating

Ease of use

rating

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