close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Credit Card Processing Not Required

Thread began 8/18/2009 3:00 pm by kiwinicknz383387 | Last modified 8/31/2009 7:23 am by kiwinicknz383387 | 4884 views | 16 replies

Eric Mittman

In order to make it so you do not process the transaction you only need to set the test mode in the Globals file. This will make it so that you do not process with the gateway.

Other than this you will need to remove the validations for the form elements on the checkout page, there are two sets of validations. The spry validations can be removed directly from the checkout form by selecting the spry box around the inputs from design view. Look at the name for that spry input and go to the bottom of the page in code view and delete the corresponding spry code. For example the credit card field has this spry associated to it:

sprytextfield2

You will need to find the script code at the bottom of the page for this spry element, it looks like this:

var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "credit_card", {validateOn:["blur"]});

Delete this line of script from the bottom of the page to get rid of the spry validation for that field.

Next you will need to remove the server validation that occurs on the confirm page. On this page toward the top around line 125 you will find the server validations, just remove the one for the field you are working on, in the credit card number example you would remove this validation:

line 132: $WAFV_Errors .= WAValidateCC(((isset($_POST["cc_number"]))?$_POST["cc_number"]:"") . "","4:51:52:53:54:55:34:37:6011:",true,8);

Once you have removed the validations for these fields you are ok to delete the field itself. This will get you a checkout minus the billing portion. The users should get to the checkout success page when going through the checkout process.

On your confirm page and checkout success page you will want to re-arrange the display of the info you have and remove any reference to form elements or values that are no longer needed. If you need any other help with this just let us know.

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