close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Adding Data to Transaction Detail Form

Thread began 8/10/2012 11:22 am by elewis93815 | Last modified 8/15/2012 3:00 pm by elewis93815 | 717 views | 4 replies

Jason ByrnesWebAssist

like i said in the previous reply:

  On the confirm page, there is a collection of hidden form elements. These hidden elements are used to capture the information passed from the checkout page and then pass it to the gateway.

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 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 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.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...