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


Powerful Product for Simple Problem

Thread began 3/12/2009 7:27 pm by jgsb2001352074 | Last modified 11/24/2009 10:51 am by Office Guy-172461 | 10972 views | 26 replies |

jgsb2001352074Beta Tester

Powerful Product for Simple Problem


I have eCart 4, a form, and database set up to take the following user inputs:
1. Name (first and last)
2. Address fields
3. Credit Card field
4. Amount of Donation field
5. Donate button
No DB connection or any PHP has been applied (although I have all of the pertinent information).

To use eCart as the shopping cart that connects to

Am I using the right tool (eCart)? Or is there an easier way to connect? This is my first time connecting to a Merchant Account. I would like to have eCart connect my form fields to the account.

Thank you,

Sign in to reply to this post

Ray BorduinWebAssist

Yes, create a shopping cart. Add an add to cart button with the amount set to "updatable" from a text field. Set the ID to 1 and select the Replace option if item is already in cart.

Apply the local checkout server behavior in eCart for

That should do it.

Sign in to reply to this post
Did this help? Tips are appreciated...

jgsb2001352074Beta Tester

Thank You Ray

I know I need to put in a lot more time studying the eCart to fully maximize its functionality. So I thank you for providing a solution that will address my specific need.

I will post a follow up by tomorrow with the successful results.

Sign in to reply to this post

jgsb2001352074Beta Tester

Did not Work


Unfortunately the solution did not work for me. I believe that to accomplish my task with any level of success I am going to have to work completely through the dynamic and static tutorials.

I would like to suggest to the WebAssist team a solution receipt for simple tasks like mine. The documentation is fantastic for a fully operational store, but to use eCart for a two field donation is very overwhelming.

Thank you for your solution . . . it didn't work only because I don't have a firm grasp on e-commerce and how to use eCart (yet).


Sign in to reply to this post

jgsb2001352074Beta Tester

Need help Ray

Hopefully you see this Ray:

I have gone through the two tutorials and feel a little bit better about using eCart. I know I need another month or so using it to get good, but . . .

1. I followed your previous directions, but made a few modifications. Instead of the local checkout behavior, I used the checkout wizard.
2. Everything works great until I get the credit card submit. I get the error page saying my transaction could not be processed at this time.

1. My account is still in TEST MODE. Would this affect the transaction causing the "Could not process at this time" error?
2. Am I missing an requirement by using the checkout wizard?

Link to the donation and subsequent checkout form:

Thank you,

Sign in to reply to this post

Ray BorduinWebAssist

No, test mode should always be successful, so that is not the problem.

On your failure page, go to the Bindings tab and click the plus button.

Go to Webassist->eCart->local checkout response and choose

This will allow you to drag and drop things like Error Messages from to give you more information on why the transaction was rejected. It could be any number of things.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jon GibsonBeta Tester

Failure Codes

Good afternoon Ray:

I would like to share the steps I have taken with the hope that maybe you see something I missed.

1. I have two pages: donation.php and donation-details.php

2. On donation.php:
a. ID set to 1 and Replace Cart option enabled.
b. Quantity is hidden with default value of 1.
c. Price is visible and updatable via List (not text box).
d. Add to Cart button with GO TO PAGE set to donation-details.php

3. Donation-details.php:
a. Summary of charges with a SUBMIT DONATION button
b. DONATION button set up with Checkout Wizard to generate all pages. When clicked you are taken to Checkout.php (generated by the wizard).

4. On the Checkout.php: all of the credit card fields. The user fills those out and hits the Checkout Button which takes them to Confirm.php (generated by the wizard)

5. Here the summary is redisplayed and users can choose to modify the order or submit (SUBMIT ORDER button).
Here is where the problem occurs: When the SUBMIT ORDER button on Confirm.php is clicked by the user they are automatically taken to checkout_failure.php

I added the behavior to the failure page, but have been unable to generate any error codes. I am not sure how to drag and drop the error codes.

UPDATE (MARCH 18, 2009):
After adding the binding behavior, create a table (2 columns by 6 rows) in checkout_failure.php. Click on the twirly (triangle) to expand the Local Checkout Response (in the Bindings panel). I dragged out the following six responses: Response Code, Subcode, Reason Code, Reason Text, AVS Response Code, and way down at the bottom, Full Response.

Run your cart and the errors will appear.

Not sure if it makes a difference, but I am using static pages (no DB of any kind)

I contacted and the support said that none of my attempts have 'reached' their server.

The following statement is from
To use Password-Required Mode with a shopping cart, please contact your shopping cart provider and ask them to enable their cart to pass your password or transaction key with every transaction.

How do I start generating error codes, as I do not receive a 'string' of text on failure.php? Did I miss something in the above steps?

Thank you!

Sign in to reply to this post

Ray BorduinWebAssist

Your steps seem correct. Are you using local checkout or remote checkout in the checkout wizard?

Sign in to reply to this post
Did this help? Tips are appreciated...

Jon GibsonBeta Tester


I felt like I was doing everything right . . . after doing the WA tutorials and re-doing this cart a million times I felt good about the WebAssist steps.

I am using local checkout. I talked with another support tech and he said that I should try generating a new transaction ID.

I'm going to give it a go tonight after work and I'll post the results.

Thank you for looking at my steps!

I figured out how to put in the drag and drop error codes you referred to! Here is what I got:
1. Response Code: 3
2. Response Subcode: 1
3. Reason Code: 270
4. Reason Text: (TESTMODE) Line item 1 is invalid

If there are other codes I should apply to further clarify the problem, let me know. I am off to look up the code meanings . . .

Thanks again Ray!

Sign in to reply to this post

Ray BorduinWebAssist

Well this tells me exactly what the problem is... line item 1 is invalid means that you are probably setting the name or description to a field that is too long.... Drag and drop the "Full Request" and "Full Response" onto your page and send those (remove your username, password, and security key where present). Looking at that will tell me the exact problem.

My guess is that either it has an invalid amount or the name and/or description are too long. I can't believe support couldn't tell you that, but make sure to give them the reason code and reason text and they should be able to be more accurate with you.

Or send them the full request that is literally everything you send to them at checkout, and somebody familiar with their api would be able to spot the exact problem.

Sign in to reply to this post
Did this help? Tips are appreciated...

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