like i said in the previous reply:
for any element you add to the checkout page, you will need to add another one to the confirm page.
so for example, you have the checkboxDelivery radio button:
<input name="checkboxDelivery" type="radio" id="checkboxDelivery" value="Delivery" checked="checked" />
In the collection of hidden elements on the confirm page, you need to add another one, with the same name, set to capture the value posted from the confirm page:
<input type="hidden" name="checkboxDelivery" id="checkboxDelivery" value="<?php echo(isset($_POST['checkboxDelivery'])?$_POST['checkboxDelivery']:""); ?>" />
then add a set session value behavior to the confirm page. Open the server behavior panel, click the plus button and select eCart -> General -> Set session value. For the trigger and value, click the lightning bolt icon and select the checkboxDelivery form element and set the name to "checkboxDelivery"
repeat those steps for each form element that was added.
you can then edit the code to pass the description to Authorize.net on the confirm page:
$AuthNet_itemized[0][1] = "x_description";
$AuthNet_itemized[1][1] = "".$cupcake1->TotalColumn("FullDetails") ."";
to include the session values:
you can then edit the code to pass the description to Authorize.net on the confirm page, for example:
$AuthNet_itemized[0][1] = "x_description";
$AuthNet_itemized[1][1] = "".$cupcake1->TotalColumn("FullDetails") ."".((isset($_SESSION["checkboxDelivery"]))?$_SESSION["checkboxDelivery"]:"") ."";
you can tell if the checkout is local or remote by the user flow of the transaction. If the customer enters credit card information while on your website, it is a local checkout. If they go to the authorize,net site to enter the payment information, it is a remote checkout. In your case, a local checkout is being used.