Jump to content
Sign in to follow this  
Tawnya Sutherland

1 Shopping Cart Spam - Need a solution

Recommended Posts

We use 1shoppingcart (1SC) for all our clients and we are finding that we are getting 400 spammers a day signing up to our forms provided through 1SC.


So everyday we have to go in and delete the not opt'd in users and its very annoying.


I contacted 1SC and they suggested using this captcha but it doesn't work? In fact you don't even have to put the code into the box and it still submits the form.


We have it here testing it at www.vanetworking.com/rfp which is a Wordpress site.


It's very annoying and 1SC will no longer help with this.Everyday we have to go into 1SC and manually search and delete about 400 spammers, it is ridiculous and time consuming.




These were instructions they told us to do:


Adding a simple captcha verification to your opt-in form
To include a simple captcha code protection on our opt-in forms is pretty
simple to do.
Edit either your existing page that has the form code in it, or your copy of
the form code that you are planning on using in to a web page, then follow
these 8 easy steps.
1) Locate this line in the form code:
<input type="Submit" name="cmdSubmit" value="Submit">
2) Replace this line with this code:
<input type="button" name="cmdSubmit" value="Submit"
3) Locate the line in the code that begins with <tralign="center">.
4) Insert before that line the following code:
<TD>Write code in box > <span id="txtCaptchaDiv" style="color:#F00"></span>
<TD><input type="hidden" id="txtCaptcha" />
<input type="text" name="txtInput" id="txtInput" size="30" />
5) Insert the following code into your Web Page's HTML before the < /body>
script type="text/javascript">
//Generates the captcha function
var a = Math.ceil(Math.random() * 9)+ '';
var b = Math.ceil(Math.random() * 9)+ '';
var c = Math.ceil(Math.random() * 9)+ '';
var d = Math.ceil(Math.random() * 9)+ '';
var e = Math.ceil(Math.random() * 9)+ '';
var code = a + b + c + d + e;
document.getElementById("txtCaptcha").value = code;
document.getElementById("txtCaptchaDiv").innerHTML= code;
<script type="text/javascript"> function checkform(theform){
var why = "";
if(theform.txtInput.value == ""){
why += "Security code should not be empty.\n";
if(theform.txtInput.value != ""){
if(ValidCaptcha(theform.txtInput.value) == false){
why += "Security code did not match.\n";
if(why != ""){
// Validate the Entered input aganist the generatedsecurity code function
function ValidCaptcha(){
var str1 = removeSpaces(document.getElementById('txtCaptcha').value);
var str2 = removeSpaces(document.getElementById('txtInput').value);
if (str1 == str2){
return false;
// Remove the spaces from the entered and generatedcode
function removeSpaces(string){
return string.split(' ').join('');
7) Save & Publish/Upload your Web Page.
8) Test the form.
Please keep in mind that this method of verification is powered by JavaScript,
and therefore is not completely infallible. The also does NOT replace our system captcha
image, which will
still appear if someone submits the form multiple times using the same
There may be instances where subscribers will be forced to enter two image
security codes, to submit their information.

Share this post

Link to post
Share on other sites

I dislike 1SC more and more everytime I have to delete spammers...

I don't think they are all coming in from that one form. Only about half of them are. The other half doesn't even specify where they are signing up from...

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Want to Become a VA?
    Invest in The VAC!
    How Do YOU Startup A

    Virtual Assistant Organization Association
    Upgrade Your FREE Account & Receive Today...
    * Access to Our Bus JOB Board *
    * Group Coaching & Training*
    *Training Tracks*
    * Private Mastermind Area *
    * Business Templates *
    * Contracts & Forms*
    * Plus VAinsider Perks! *

    Virtual Assistant Organization Association

    Virtual Assistant Organization Association

    HootSuite - Social Media Dashboard

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.