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

Insert Summary isn't including Phone Number eCart 6.1.0

Thread began 12/08/2014 10:10 am by troyd | Last modified 12/18/2014 1:05 pm by troyd | 1466 views | 18 replies

TroyD

Ok. so this entire block can be commented out as shown?

php:
<?php

//@session_start();
//$PPVals = array();
//$PPVals["Company"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->PayerBusiness");
//$PPVals["First_Name"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->FirstName");
//$PPVals["Last_Name"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->LastName");
//$PPVals["Address_1"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Street1");
//$PPVals["Address_2"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Street2");
//$PPVals["City"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->CityName");
//$PPVals["State"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->StateOrProvince");
//$PPVals["Postal_Code"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->PostalCode");
//$PPVals["Country"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Country");
//$PPVals["Phone_Number"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->ContactPhone");
//$PPVals["Email_Address"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Payer");
//
//$PPVals["First_Name_2"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->Name");
//$PPVals["Last_Name_2"] = "";
//if (strpos($PPVals["First_Name_2"]," ")!==false) {
//$PPVals["Last_Name_2"] = substr($PPVals["First_Name_2"],strpos($PPVals["First_Name_2"]," ")+1);
//$PPVals["First_Name_2"] = substr($PPVals["First_Name_2"],0,strpos($PPVals["First_Name_2"]," "));
//}
//$PPVals["Address_1_2"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->Street1");
//$PPVals["Address_2_2"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->Street2");
//$PPVals["City_2"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->CityName");
//$PPVals["State_2"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->StateOrProvince");
//$PPVals["Postal_Code_2"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->PostalCode");
//$PPVals["Country_2"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->Country");
//$PPVals["Phone_Number_2"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->Phone");
//$PPVals["Email_Address_2"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Payer");
//
//$_SESSION["WASF_CheckoutWizard_NewFromBlank_Default"] = $PPVals;
?>



Since that block was just reassigning the values of the session, I don't need to worry about any errors else where? I don't find any references to the $PPVals anywhere but I wanted to make sure I don't need to comment out anything else as a result.

BTW. I do still want to grab the payer's email address and the transaction id from PayPal. Will that still be included if I comment out the entire block?

Just curious. What is the purpose of having the shipping address on the site if it's going to be changed at PayPal? Is it in case they pay without logging into their PayPal account? That's all I could think of. Otherwise I could just have them bypass our address form and let them do it all at PayPal. Just thinking.

Thanks,
TroyD

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