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