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 ?
using the syntax WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, ("")
is it possible to retrieve special instructions from the paypal page ?
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
So any message keyed in by the customer cannot be retrieved by this method.
is the message stored anywhere ?
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.
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 ?
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.
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
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.
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
re contact telephone number, apparently it is here...
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.