Page 1 of 1

Payment MS + Paypal -> Product name missing (as itemdesc?)

Posted: Wed Nov 14, 2012 4:43 pm
by themapplz
Does anyone know how to make the names of the products ordered show up on the paypal payment page instead of the default Payment MS attribute 'itemdesc' ?

Thank you! :)

Re: Payment MS + Paypal -> Product name missing (as itemdesc

Posted: Thu Nov 15, 2012 5:52 am
by Duketown
themapplz,

I take it that you've set the payment cart style in Payment MS to show details.
According to what I read from the calling program CartMadeSimple->orders.api.php on lines 926 thru 929 the name of the product (or attribute) should be handled correctly.

Code: Select all

$pgw->fields['item_name_'.$line] = $orderline->productname;
if ($orderline->attributename != '') {
	$pgw->fields['item_name_'.$line] .= ' ('.$orderline->attributename.')';								
}
Duketown