close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Response from Authorize.net is declined, but order is created anyway...

Thread began 1/13/2010 12:25 pm by chris.cherry130663 | Last modified 1/14/2010 12:08 pm by chris.cherry130663 | 1221 views | 2 replies

chris.cherry130663

Response from Authorize.net is declined, but order is created anyway...

I have tested this by entering a valid credit card number, and entered a bad bill to address. The response I get on the checkout failure page is:

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

The transaction resulted in an AVS mismatch. The address provided does not match billing address of cardholder."

However, it seems that the page continues to write the record into my database as a valid order

Here is the code at the end of the Auth.Net Checkout portion of the page:

.......
AuthNet_optional(0) = AuthNet_optional_name
AuthNet_optional(1) = AuthNet_optional_value
WAGatewayResponse = AuthNet_Post(AuthNet_required,AuthNet_itemized,AuthNet_optional)
if (WAGatewayResponse) then
shoeCart_redirStr = ""
else if ("cart_checkout_failure.asp" <> "") then
Response.Redirect("cart_checkout_failure.asp")
end if
end if
end if
%>
<%' WA eCart Store Cart Summary in Db

This is just before the Store Cart Summary in Database function. Is there something i need to add so that the order does not go into the database on Decline?

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