close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Last Name not showing up on PayPal shipping details page

Thread began 10/04/2009 9:19 pm by david353947 | Last modified 10/07/2009 3:18 pm by Eric Mittman | 2300 views | 8 replies |

david353947

Last Name not showing up on PayPal shipping details page

The customer's shipping last name is not showing up on the PayPal details after the sale goes through so when we print out the shipping lable on PayPal, the customer';s ;ast name is missing and we have to enter it manually. The confirm.php is attached...it lookes like the code is just sending the firstname with the name...maybe it needs to be concatentated with the last name?

Attached Files
confirm.zip
Sign in to reply to this post

Eric Mittman

In the code on lines 276 and 280 you can see that both of these are being set. Also, so that you are aware this is a public forum and the details you have entered in your current confirm page should be updated from your PayPal profile. You should request new credentials and not use these ones anymore.

I did some testing and was able to confirm that I can see the first and last name of the buyer on PayPal and in the email that is sent. Does this happen for you every time or is it sporadic?

Sign in to reply to this post

david353947

Last Name not showing up on PayPal shipping details page

I was looking at line 350 the SH_Name, I noticed that it's only the firstname and not the last name...is that what is passed to PayPal? Maybe you can show me the syntax to concatenate the first name and last name with a space between. And in answer to your question, it happens all the time, not sporadic. I'm changing the API key now.

Sign in to reply to this post

david353947

Last Name not showing up on PayPal shipping details page

I changed the API on pp_confirm and not getting back paypal account details on pp_confirm page after coming back from paypal so the transaction dies there...please help me asap as this page is live and we're losing sales.

Sign in to reply to this post

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.

Sign in to reply to this post

david353947

Last Name not showing up on PayPal shipping details page

I followed you instructions for the API issue (searching the whole site for API changes) and still have the same behaviour...I even called PayPal and they said that the Get and Do seem to be working fine. I also tried to display the API full request and full results which is also not displaying anything. This is impacting sale at this point...Please call me so I can get this resolved.

Sign in to reply to this post

david353947

I also added the code for the last name and got an error...I just copied and pasted the code in place of the existing code.

Sign in to reply to this post

david353947

Last Name not showing up on PayPal shipping details page

Can I please get a call to resolve? I fololwed the directives of the tech and did not see resolution.

Sign in to reply to this post

Eric Mittman

I have submitted a ticket for you and requested contact info, please login and update your ticket by visiting the support history.

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

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