Sending Product SKU/Order# to Authorize.net
How can I send the line item product # to Authorize.net so that on the Authorize.net email it shows the product on the order. It just has the ProductID #.
After looking at the code in confirm.php it seem I can simply add another index. Is this true?
while ( !$WA_Store_Cart->EOF() ) {
$nextIndex = count($AuthNet_itemized[0]);
$AuthNet_itemized[0][$nextIndex] = "ID";
$AuthNet_itemized[1][$nextIndex] = "".$WA_Store_Cart->DisplayInfo("ID") ."";
$nextIndex = count($AuthNet_itemized[0]);
$AuthNet_itemized[0][$nextIndex] = "Name";
$AuthNet_itemized[1][$nextIndex] = "".$WA_Store_Cart->DisplayInfo("Name") ."";
Can I do just this? I have the SKU column defined in the cart.
$nextIndex = count($AuthNet_itemized[0]);
$AuthNet_itemized[0][$nextIndex] = "SKU";
$AuthNet_itemized[1][$nextIndex] = "".$WA_Store_Cart->DisplayInfo("SKU") ."";
Also, the order # is the sessionID in Authorize.net. How can I make that the order #? It seems that the order is not generated until after the authorize.net confirmation so maybe this is not possible. I'm trying to make some way of connecting the PS order and the Authorize.net order via a unique # or field.
Thanks, Terry