Product Description
How to I pass Description/Comments variable to PayPal from ecart? There is a Comment1 and Comment2 field in our PayPal reports that we would like to populate from the cart.
Thanks
How to I pass Description/Comments variable to PayPal from ecart? There is a Comment1 and Comment2 field in our PayPal reports that we would like to populate from the cart.
Thanks
whta type of checkout are you using? Paypal Standard, Express checkout or Payments pro?
actualy now that I look at it I need to pass the description to paypal. Not product description but more of a trasaction description. When I look at details of the payment the description field just says shopping cart and I want to populate if with information that they filled out in the ordering process.
Thanks for any help
Okay I have more information and you can disregard any of the previous comments.
We have a Payflow Pro account, I need to grab information from a form that is gathered by a session variable and pass that info to either the comment1 or comment2 field. So we can display the info in our report through manager.paypal.com
OK, so the information is already in a session variable?
on the confirm page, locate the collowing lines of code:
$nextIndex = count($PP_PayPro_optional[0]);
$PP_PayPro_optional[0][$nextIndex] = "MERCHANT-SESSIONID";
$PP_PayPro_optional[1][$nextIndex] = "".session_id() ."";
and change that to:
$nextIndex = count($PP_PayPro_optional[0]);
$PP_PayPro_optional[0][$nextIndex] = "MERCHANT-SESSIONID";
$PP_PayPro_optional[1][$nextIndex] = "".session_id() ."";
$nextIndex = count($PP_PayPro_optional[0]);
$PP_PayPro_optional[0][$nextIndex] = "COMMENT1";
$PP_PayPro_optional[1][$nextIndex] = "".$_SESSION['comment1Session'] ."";
$nextIndex = count($PP_PayPro_optional[0]);
$PP_PayPro_optional[0][$nextIndex] = "COMMENT2";
$PP_PayPro_optional[1][$nextIndex] = "".$_SESSION['comment1Session'] ."";
you will need to modify this to use the names of the session variables you have created.
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.