close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

PayPal Advanced passing item Name and/or Description

Thread began 6/05/2017 7:57 pm by TroyD | Last modified 6/22/2017 12:43 pm by TroyD | 267 views | 18 replies

TroyD

Ray,

I will do another test and see if I can find the response.

Another question before I do that. I am trying to include the Size and Color for the Description instead of the description text. Once we have this working, it's the size and color for each item we are after anyway.

I tried just changing it to the column name used in the eCart object but it throws an error. There must be more to it that I am not thinking of.

So I currently have this for description variable on the PP_PayAdv_PHP.php page...

$vars[] = 'L_DESC' . ($item_count+1) . '=' . (substr(strip_tags($cart->DisplayInfo("Description")), 0, 127));


I changed it to...

$vars[] = 'L_DESC' . ($item_count+1) . '=' . (substr(strip_tags($cart->DisplayInfo("SizeOption")), 0, 127));



That didn't work even though SizeOption is the column name. I get an error or a Failed response.
On the cart.php and confirm.php pages, I use

<?php echo $eCart1->DisplayInfo("SizeOption"); ?>


and

<?php echo $eCart1->DisplayInfo("ColorOption"); ?>


to show the information. I realize that there are some differences such as $cart-> is used on PP_PayAdv_PHP.php page instead of $eCart1-> so I made sure I only changed the column name.

Ultimately I want to concatenate SizeOption and ColorOption together there but I can't even include SizeOption without it throwing an error.

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