close ad
 
Important WebAssist Announcement
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 4:57 pm by TroyD | Last modified 6/22/2017 9:43 am by TroyD | 2125 views | 18 replies

TroyD

PayPal Advanced passing item Name and/or Description

I have tried to find a solution to this in the past but ended up just using an email confirmation with all the details. I now have another cart setup where the client wants the details for the transaction to appear (as they should) in their PayPal account. This is an Advanced checkout using PayFlow. Everything is setup in PayPal Manager as I have always been instructed to do. The checkout process is done on the website using an iframe. All works just fine but the Description is blank in the confirmation sent by PayPal. And when you view the details of the transaction from within PayPal, the "Detail" is blank. Name, Address, Subtotal, Tax, Shipping, etc. all get passed correctly.

It appears as though the WA page responsible for this information is the PP_PayAdv_PHP.php file in the webassist/ecart/ directory. There is a while loop that even has all the details I am looking to pass.

$vars[] = 'L_NAME' . $item_count . '=' . urlencode(substr(strip_tags($cart->DisplayInfo("Name")), 0, 127));
$vars[] = 'L_NUMBER' . $item_count . '=' . urlencode(substr($cart->DisplayInfo("ID"), 0, 127));
$vars[] = 'L_DESC' . $item_count . '=' . urlencode(substr(strip_tags($cart->DisplayInfo("Description")), 0, 127));
$vars[] = 'L_AMT' . $item_count . '=' . urlencode(number_format($cart->DisplayInfo("Price"), 2, '.', ''));
$vars[] = 'L_QTY' . $item_count . '=' . urlencode($cart->DisplayInfo("Quantity"));



Normally when I had an issue like this with PayPal standard, I simply looked at the source on the confirm page and made sure the correct hidden form element had all the details bound to it. I'm not finding this now. What should I be looking for to make sure the Description is being passed to PayPal?

Oh, I should maybe mention the order things are included on the confirm.php page.

gateways.php
persist.php
PP_PayAdv_PHP.php
eCart1_PHP.php
and then the PayPal Advanced Authorize section.

Should the PP_PayAdv_PHP.php maybe come after the eCart1_PHP.php include?

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