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

Paypal ECO special instructions

Thread began 2/24/2011 8:53 am by CraigR | Last modified 3/04/2011 1:04 pm by Dave Buchholz | 1762 views | 10 replies |

CraigRBeta Tester

Paypal ECO special instructions

using the syntax WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, ("")

is it possible to retrieve special instructions from the paypal page ?

Sign in to reply to this post

Jason ByrnesWebAssist

the only values returned in the $WA_PP_ECO_GetResult are:

INVOICEID
CONTACTPHONE
PHONENUM
PAYER EMAIL
SHIPTOSTREET
SHIPTOSTREET2
SHIPTOCITY
SHIPTOSTATE
SHIPTOZIP
SHIPTOCOUNTRY
SHIPTOPHONE
TRANSACTIONID
FEEAMOUNT
SETTLEAMOUNT
TAXAMOUNT
TRANSACTIONTYPE

Sign in to reply to this post

CraigRBeta Tester

So any message keyed in by the customer cannot be retrieved by this method.

is the message stored anywhere ?

Sign in to reply to this post

Jason ByrnesWebAssist

The Full Response from the Process Transaction with PayPal express checkout bindings will contain all of the values posted back from paypal when the transaction goes through, I cant say if this will include the special instructions or not.


I would think at the very least that any special instructions entered would be stored In the order section of your paypal account.

Sign in to reply to this post

CraigRBeta Tester

sorry to visit this one again.

based on the response from post 2, when a customer pays by paypal, their address details are not recorded in the database.

The shipping details are recorded OK, but not the billing address.

is there no way to retrieve this info ?

Sign in to reply to this post

Dave BuchholzBeta Tester

Craig,

As far as paypal are concerned the billing and shipping address are one and the same.

If I remember rightly this is due to the t&c's of the purchase protection.

Sign in to reply to this post

CraigRBeta Tester

thanks for the reply Dave

the reason for my question, was that when the checkout wizard generates pp_confirm.php the session variables it creates are (as you know)...

<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_phone"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ContactPhone") ."";
}
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_email"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "Payer") ."";
}
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_firstname"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "FirstName") ."";
}
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_lastname"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "LastName") ."";
}
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_country"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerCountry") ."";
}
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_shipping_lastname"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "Name") ."";
}
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_shipping_street1"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "Street1") ."";
}
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_shipping_street2"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "Street2") ."";
}
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_shipping_city"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "CityName") ."";
}
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_shipping_state_province"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "StateOrProvince") ."";
}
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_shipping_postcode"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PostalCode") ."";
}
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_shipping_country"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "Country") ."";
}
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_shipping_phone"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "Phone") ."";
}
?>

In Jason's reply in post #2, firstname, lastname for example are not listed, (which are in the above list), and these are retrieved OK. ContactPhone however is not retrieved, at least in my case

Sign in to reply to this post

Dave BuchholzBeta Tester

ContactPhone relies on a setting in your paypal account that determines whether you require a phone number to be supplied

I have been trying to find the relevant section in the PayPal docs that outlines exactly what is sent back but without any success so far as this would be a useful feature to add to my T Shirt site which also uses Express Checkout as well as the normal credit card checkout.

Sign in to reply to this post

CraigRBeta Tester

thanks Dave, i will look for this.

wrt my earlier enquiry re special instructions. If you do a fullResponse, the special instructions appear amongst the rest of the parameters, but I can't find a response for it (yet)

the link is here..

e_howto_api_WPCustomizing#id086NA300I5Z__BHIBBCIE

Sign in to reply to this post

CraigRBeta Tester

re contact telephone number, apparently it is here...

  ContactPhone
Payer’s contact telephone number.
ContactPhone is returned to you only if you set this as a preference in the Website Payment Preferences of your Profile on https://www.paypal.com.  
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...