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

rating

Authorize.net Transaction Not Completed

Thread began 3/07/2012 1:44 pm by eric284736 | Last modified 3/08/2012 12:22 pm by Jason Byrnes | 1178 views | 13 replies |

eric284736

Authorize.net Transaction Not Completed

Hi

I have a page setup for purchasing tickets with some drop down options. The information adds to the cart correctly, but then when I go thru the checkout process it gives me the error on the completion page.

Is there an issue with my page to add the info or can I get the reason for the transaction not complete.

thx
Eric

Sign in to reply to this post

eric284736

Sorry, forgot the page file.

Attached Files
event_special.zip
Sign in to reply to this post

Jason ByrnesWebAssist

What is the error you get?

On which page do you get the error, what is the name of "the completion page"?

it's hard to diagnose a problem with out specifics like the error message.

Sign in to reply to this post

eric284736

Here is the error:

Transaction Not Completed
We're sorry
Your transaction could not be completed.

checkout_failure.asp

THis is on the the checkout failed page. We have several other pages where the cart is working and the actual page submitted has a few add to cart functions that work.

I have some columns that I added to the cart like option1, option2, option3, option4 and I am wondering if that is the problem.

thx
Eric

Attached Files
checkout_failure.zip
Sign in to reply to this post

Jason ByrnesWebAssist

add the following code to the failure page to write the request being sent to and the response coming back from authorize.net:

php:
<?php

     
@session_staat();
     echo 
"<p>Auth Net: <br />"
     echo 
"Full Request: ".(isset($_SESSION['WAAuthNet_postedValues'])?htmlentities($_SESSION['WAAuthNet_postedValues']):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION['WAAuthNet'])?htmlentities($_SESSION['WAAuthNet']):"n/a")."<br /></p>"
 } 
?>



Note, the full request and full response will contain sensitive info that should be removed before posting here.

Sign in to reply to this post

eric284736

Hi Jason - do I need to put this in the head section or at the bottom of the HTML?

thx
e

Sign in to reply to this post

eric284736

Sorry I need the VBscript code for .ASP

thx!
Eric

Sign in to reply to this post

Jason ByrnesWebAssist

on the bindings panel, click the plus button. Select eCart _ >Checkout -> Local Checkout response. from the gateway list select Authorize.net.

add the full request and full response binding to the body section of the failure page.

Sign in to reply to this post

eric284736

Thanks Jason!

Here is the response:
3::1::270::Line item 1 is invalid.::::P::0::520331904::1 Pedal::30.00::CC::auth_capture::::Virginia::Scully::::2108 Medway::Charleston::SC::29412::::

I see Line item 1 is invalid, but I am not sure what that is referring to. Here is the code for the add to cart section.

<form name="Membership_6_ATC_36" method="POST" action="<%=cStr(Request.ServerVariables("SCRIPT_NAME"))%><%=WA_eCart_IIf((Request.ServerVariables("QUERY_STRING") <> ""), "?" & Request.ServerVariables("QUERY_STRING"), "")%>">
<input type="hidden" name="Membership_6_ID_Add" value="36" >
<input type="hidden" name="Membership_6_Name_Add" value="Pedal & Power House Tour Member" >
<input type="hidden" name="Membership_6_Quantity_Add" value="1" >
Tour Time
<select name="Membership_6_option1_Add">
<option value="8:30am" selected>8:30am</option>
<option value="8:45am">8:45am</option>
<option value="8:50am">8:50am</option>
</select>
<br>
Sandwich Selection
<select name="Membership_6_option2_Add">
<option value="Turkey" selected>Turkey</option>
<option value="Ham">Ham</option>
<option value="Veggie">Veggie</option>
</select>
<br>
Allergies, diet restrictions
<input type="text" name="Membership_6_option3_Add" value="n/a">
<br>
<input type="hidden" name="Membership_6_option4_Add" value="" >
<input type="submit" value="Add to Cart" name="Membership_6_ATC">
<input type="hidden" name="Membership_6_Price_Add" value="30" >
</form>

Sign in to reply to this post

Jason ByrnesWebAssist

to be able to determine the cause of the response, i need to also see the full request.

the full request will contain the item information that is causing the problem.

Sign in to reply to this post
loading

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

Content

rating

Layout

rating

Ease of use

rating

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