close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Last Name not showing up on paypal payments pro ship to address packing slip

Thread began 12/04/2009 4:49 pm by dave315749 | Last modified 12/15/2009 12:43 pm by Eric Mittman | 4718 views | 11 replies |

dave315749

Last Name not showing up on paypal payments pro ship to address packing slip

I am having a issue where the customers last name is being sent to paypal payments pro but it is NOT showing up under the "ship to address" on the paypal slip. The problem is that the client cannot print out a shipping label and the confirmed address does not confirm either because the last name is missing.

1. Order is successful.
2. all information is transfered and first and last name show in history
3. it is just the last name that doesnt show in the ship to address section.
4. called paypal and added the "last name" from the checking form after the first name in the SH_name section around line 360? They are space with 1 space, as paypal asked.

code on confirm.php page

$PP_DirectPayment_optional[1][$nextIndex] = "".$wearyourin->GetCharges() - $wearyourin->GetDiscounts() ."";
$nextIndex = count($PP_DirectPayment_optional[0]);
$PP_DirectPayment_optional[0][$nextIndex] = "TaxTotal";
$PP_DirectPayment_optional[1][$nextIndex] = "".$wearyourin->GetTax() ."";
$nextIndex = count($PP_DirectPayment_optional[0]);
$PP_DirectPayment_optional[0][$nextIndex] = "SH_Name";
$PP_DirectPayment_optional[1][$nextIndex] = "".((isset($_POST["shipping_firstname"]))?$_POST["shipping_firstname"]:"") ." ".((isset($_POST["shipping_lastname"]))?$_POST["shipping_lastname"]:"") ."";
$nextIndex = count($PP_DirectPayment_optional[0]);
$PP_DirectPayment_optional[0][$nextIndex] = "SH_Street1";
$PP_DirectPayment_optional[1][$nextIndex] = "".((isset($_POST["shipping_street1"]))?$_POST["shipping_street1"]:"") ."";
$nextIndex = count($PP_DirectPayment_optional[0]);
$PP_DirectPayment_optional[0][$nextIndex] = "SH_Street2";


Did another test after this and it did not work.

Any ideas or suggestions?

Sign in to reply to this post

Eric Mittman

When you say that the first and last name are showing in the history but not in the PayPal slip I'm not sure that I understand what part this is that is not showing the name. If you can please post back with some screen shots of both of these so that we have a visual reference for what you are experiencing. Once we have a better idea of where the value is missing from we will better be able to determine what needs to be looked at.

Sign in to reply to this post

dave315749

screen shots

the last name shows EVERYWHERE on paypal but the Ship to this address: box.

Sign in to reply to this post

dave315749

Problem must be missing in webassist extention

I just checked another clients site i used the same wizard for to create the checkout and found that the last name is not being transferred in that situation either? Very strange.. Im i looking at the correct code for where this information gets sent to paypal?

Sign in to reply to this post

Eric Mittman

The info that you see here does not come from the checkout pages on your site, it comes directly from PayPal.

I have been doing a couple of tests on this and have not got back confirmation on the status of the payments yet, when I do I will post back with my results so we can see if there is somewhere this can be updated.

Sign in to reply to this post

dave315749

Any news yet?

Find anything?

Sign in to reply to this post

Eric Mittman

In my testing it seems that the first name and last name will appear if a personal account is used. If a business account is used to make the purchase it looks like just the business name is used. Do you have a last name appearing for any of your transactions?

Sign in to reply to this post

dave315749

nope

No i dont have any last names in the shipto this address box showing for payments using paypal payments pro.

payments that are sent using paypal express show a last name in the ship to address box because i guess they are pulled from paypals database.

I contacted paypal and they said to put the last name together with the first name... that did not work.. then they said make sure they are in quotes.. thats the next thing i will try.

But you said that info that paypal payments pro is not coming from the confirm page? what page would it be coming from?

Sign in to reply to this post

Eric Mittman

Looking at what you have posted you are using for this value it seems that it should be working here. Please give this a try and use this value:

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



In my testing of the Direct Pay checkout with the value set like this I was able to see both the last name and first name in the details on PayPal. Please let us know if this works for you and I will ensure that we get this updated.

Sign in to reply to this post

wbrooks199805

Having same problem

This is not in direct paypal payments. It is not posting to paypal. Please advise

<input type="hidden" name="shipping_lastname" id="shipping_lastname" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_shipping_lastname"]))?$_SESSION["eCartCheckoutForm_shipping_lastname"]:"") ?>" />


I ended up just using a database because Paypal doesn't get all values I need anyways but would love to see this fixed!

Sign in to reply to this post
loading

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