close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Product Description

Thread began 3/09/2011 6:56 am by phillip6653119671 | Last modified 3/17/2011 7:52 am by Jason Byrnes | 1467 views | 5 replies |

phillip6653119671

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

Sign in to reply to this post

Jason ByrnesWebAssist

whta type of checkout are you using? Paypal Standard, Express checkout or Payments pro?

Sign in to reply to this post

phillip6653119671

Paypal type

Payment pro

Sign in to reply to this post

phillip6653119671

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

Sign in to reply to this post

phillip6653119671

More information

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

Sign in to reply to this post

Jason ByrnesWebAssist

OK, so the information is already in a session variable?


on the confirm page, locate the collowing lines of code:

php:
$nextIndex = count($PP_PayPro_optional[0]);

  $PP_PayPro_optional[0][$nextIndex] = "MERCHANT-SESSIONID";
  $PP_PayPro_optional[1][$nextIndex] = "".session_id()  ."";




and change that to:

php:
$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.

Sign in to reply to this post

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