Originally Posted by
jeff
make the following changes in the paypal.php file:
includes/modules/payment/paypal.php
find the following line:
$telephone = preg_replace('/\D/', '', $order->customer['telephone']);
add the following code immediately following the above line:
$xx = '';
for ($i=0; $i<sizeof($order->products); $i++) {
$xx .= $order->products[$i]['qty'] . '-' . ($order->products[$i]['name']) . '**';
}
now change the following line:
zen_draw_hidden_field('item_name', STORE_NAME) .
to this:
zen_draw_hidden_field('item_name', STORE_NAME . ' ' . $xx) .
this will allow the cart contents (except for any attributes - I never figured out how to pass attributes) to be passed to PayPal so you will see a list of items ordered in yuor PayPal admin account activity listing
Bookmarks