Dansie Shopping Cart
Dansie Shopping Cart
Frequently Asked Questions
Searchable F.A.Q.
FAQ Home
Show all FAQs

# 1: Permanent link
Question:
How do I set shipping charges?

Answer:
The Dansie Shopping Cart is very flexible and customizable with shipping. It has 6 different methods to choose from that will calculate shipping for you. Then on top of that, you can define an unlimited number of locations and the rates for each location. See section 10 in the ReadMe for full details.
http://www.dansie.net/cart_readme.html


# 2: Permanent link
Question:
I'm using the ssl.pl script, but the credit card info isn't being written (appended) to the "orders.dat" file or "orders" directory.

Answer:
See Secure Server Variable #8 in Section 11 of the ReadMe.
http://www.dansie.net/cart_readme.html
See also the "RECORDING ORDERS TO DATA FILES" near the top of ssl.txt.

Did you chmod your "orders.dat" file 777 if you are on Unix? If you are on an NT host check that permissions are writable on this file.
Is the system path correct in SSV#8?
You can get your system path by going here:
http://www.YourName.com/cgi-bin/cart.pl?path
PV#55 must be set to 0 to view your system path.

Is your ssl.pl script hosted on a different machine where they have different system paths? You will need to set two system paths. One in SSV#8 and the other in ssl.txt. One for the secure host and the other for your standard host. The ReadMe will show you how.

Always use SSL and PGP encryption. See the Security Checklist in section 1 of the ReadMe for details.

See also:
http://www.dansie.net/creditcards.html


# 3: Permanent link
Question:
People are placing credit card orders using my real-time processor, but why am I'm not receiving the order details via email?

Answer:
In order for the Dansie Shopping Cart to know that it needs to email the order details to you, your customer needs to return from the real-time credit card processors site back to the shopping cart. The cart automatically sends the Return URL to most of the real-time processors that it works with. Others require you to login to your account and set the Return URL maually. See section 11 in the ReadMe for instructions on how to get the cart to do this with your real-time credit card processor.
http://www.dansie.net/cart_readme.html

Also, see the Pending Order Notice in Secure Server Variable #13 in the ReadMe. Make sure your email address is in there.


# 4: Permanent link
Question:
How do I chmod files?

Answer:
Do you have WS_FTP, Core FTP or CuteFTP? You can get WS_FTP LE and Core FTP here:
http://www.tucows.com
http://www.coreftp.com

You would upload the cart.pl script to your host. Then in the right window (remote) you would select the cart.pl script by clicking on it once. Then right click on it. A small menu will come up. Select "chmod" from that menu. Then for 755, checkmark all 9 check boxes you see except the right two "write" permission boxes. Or just enter the number 755 in the text box.

For 777, on the "carts" directory and the "shopperid.dat" file check mark all 9 check boxes.


# 5: Permanent link
Question:
How can I create my product catalog?

Answer:
With the Dansie Shopping Cart you can add items to the cart with either HTML forms, flat-file databases or HREF links.

HTML form example:
http://www.dansie.net/cart_form_source.html

Database example:
Source: http://www.dansie.net/stuff.dat
Interpreted display:
http://www.dansie.net/cgi-bin/scripts/cart.pl?db=stuff.dat&category=Books
http://www.dansie.net/cgi-bin/scripts/cart.pl?db=stuff.dat&category=Clothing

HREF link example:
http://www.dansie.net/cgi-bin/scripts/cart.pl?name=Purse&price=20&custom1=Black+Leather
Section 6 in the Template.html file has more details on this method. You can download it in the ReadMe package.
http://www.dansie.net/cart_readme.html


# 6: Permanent link
Question:
How can I customize the look and appearance of my database displays?

Answer:
You can control the wallpaper or back ground color, two fonts (size, face and color), you can insert a custom header and footer text file (navigation menu) or have it appear on the left side of the database display. Any text and HTML can go in there that you wish. See Database Variable #22 an #27 in the ReadMe for details. See an example here:
http://www.dansie.net/cgi-bin/scripts/cart.pl?db=stuff.dat&category=Books
If you have pull-down menus appear in your database, you can choose if you want them aligned left, right, or center. Also they can be stacked or side by side. You can choose to have thumbnail images in the database display or not have them. And of course, all text is customizable by a separate plain text data file called "lang.dat".
http://www.dansie.net/lang.dat

The buttons can autocalc the total of each item, or you can turn the JavaScript off and just have the buttons say, "Click To Order" or something like that. Also, the gray text buttons can be replaced with custom image buttons if you wish. See Database Variable #15.

There are two graphics at the bottom of the cart. HOME and VIEW CART. You can define the URL to those graphics. If you don't want to use graphics for those buttons, just leave those variables blank and you will see text instead.

All this and more is in sections 12 and 13 of the ReadMe.
http://www.dansie.net/cart_readme.html


# 7: Permanent link
Question:
Why does it appear that my shopper ID or invoice numbers are jumping, without orders coming in?

Answer:
The invoice.dat or shopperid.dat file is like the cart's counter. It increments when a new person uses the cart, and not when an order is placed. Your website visitors may play with your cart without placing an order. Or they may place an order via "Check Or Money Order" but not mail you the check. So if you only see orders with invoice numbers 15, 25, 33, 38, etc, that is normal

# 8: Permanent link
Question:
How do I use images buttons in my forms instead of regular purchase buttons?

Answer:
You may use standard submit buttons or images like so:
Standard submit button:
<INPUT TYPE=SUBMIT NAME="add" VALUE="Put in Shopping Cart">

Custom image submit button:
<INPUT TYPE=HIDDEN NAME="add" VALUE="1">
<INPUT TYPE=IMAGE SRC="http://www.YourSite.com/add.gif" NAME="Order">


# 9: Permanent link
Question:
What is the safest and securest way to accept customers credit card numbers?

Answer:
The Dansie Shopping Cart works with various versions of PGP on both Unix and Windows NT hosts. It also works with GPG. For more details, see Secure Server Variable #10 in the ReadMe.
http://www.dansie.net/cart_readme.html
See also:
http://www.dansie.net/creditcards.html
http://www.pgp.com/
http://www.gnupg.org
http://en.wikipedia.org/wiki/Pretty_Good_Privacy

The Dansie Shopping Cart can append the credit card numbers to a datafile on your host. See Secure Server Variable #8 in the ReadMe. Then you can download them securely with your web browser via "https". An .htaccess and .htpasswd file can be placed in the same directory where the credit card numbers are being written to to prevent anyone else from accessing the credit card numbers with their browser without the password. See also:
http://www.dansie.net/creditcards.html

Some .htaccess tutorials are here:
http://hoohoo.ncsa.uiuc.edu/docs/tutorials/user.html
http://www.barmaton.nl/help/htaccess.html

You don't have a secure host to run the ssl.pl script on? Here is a secure host that can remotely host your ssl.pl script for you. They know about the Dansie Shopping Cart and understand your SSL needs:
https://www.stormer.com/dansie-ssl.html

cgi-bin browsing. Does your host have your site configured so that your cgi-bin directory can be browsed?
Go here:
http://www.YourName.com/cgi-bin/
If you see "Forbidden" or a similar message then that is good. If you see a listing of all the files in your cgi-bin directory and can view text files by clicking on them, that's NOT good. Ask your host to fix that so that your cgi-bin directory is NOT browsable. And don't have the cart append credit card information to directories that are browsable (SSV#8).


# 10: Permanent link
Question:
Can the Dansie Shopping Cart work with any other real-time credit card processors than what is currently listed in section 11 of the ReadMe?

Answer:
Most likely. See this page:
http://www.dansie.net/new_processor.html


# 11: Permanent link
Question:
I have a Macintosh. Will the Dansie Shopping Cart work for me?

Answer:
The Dansie Shopping Cart is a Perl script and will run up on your web host. It runs on Unix, Linux and Windows NT hosts. On your personal Mac, you will need three things. A web browser, a plain text editor like SimpleText and an FTP program.

# 12: Permanent link
Question:
May I ask stupid questions?

Answer:
Yes. Absolutely. Feel free. =)

# 13: Permanent link
Question:
My web host wont allow me to have a security certificate. What can I do?
My host doesn't have PGP or GnuPG (GPG) installed on their server. What can I do?


Answer:
See this page:
https://www.stormer.com/dansie-ssl.html


# 14: Permanent link
Question:
Does the Dansie Shopping Cart work well with FrontPage?

Answer:
Yes. See these pages:
http://frontpage.stormer.com/
http://frontpage.stormer.com/simple.htm


# 15: Permanent link
Question:
Is the Dansie Shopping Cart compatible with my website? Will it run up on my host?

Answer:
Just ask your host if they allow you to run cgi Perl scripts in your own cgi-bin directory. If so then the Dansie Shopping Cart will work for you. It runs on Unix, Linux and Windows NT hosts.

If your host is NT, the Dansie Shopping Cart works with either Windmail or Blat to send out email. Ask your host if they already have either one of these installed or if they will let you run windmail.exe in your cgi-bin. If your host is Unix, then don't worry about Windmail or Blat. The cart will work with regular Unix sendmail then.


# 16: Permanent link
Question:
My shopping cart always says that it is empty when I try to put an item in it.

Answer:
Below is an exhaustive list of reasons that could ever cause the cart to give an "Empty" message. The most likely listed first.

1. Be sure your "temp" directory and your "shopperid.dat" file are both writable (chmod 666 or 777 on Unix). These files are the cart's memory. If it can't write to these files, then it will have "amnesia". Go here:
http://www.YourName.com/cgi-bin/cart.pl?write_test
(Replace "YourName.com" with your domain name.)
2. If PV#23 is set too low. Keep it at least set to "1". No lower than that.
3. If your shopper has cookies disabled in their browser.
4. If PV#39 is set to 0 (IP addresses) and your shopper is connected to the net with a proxy server that changes their IP address while they are still connected to the net. It's recommended to have PV#39 set to 1.
5. If you use a mix of URLs in your FORM tags and Host Variable #1 like so:
http://www.YourName.com/cgi-bin/cart.pl
http://YourName.com/cgi-bin/cart.pl
Notice that one URL has "www." and the other doesn't. You need to decide on a URL and use the same URL throughout your site in all your FORM tags. That URL needs to match the URL set in Host Variable #1.
6. After you place an order. The "Secure Online Credit Card Transaction" and "COD" payment options cause the cart to delete your basket contents after and order is completed. This is standard. See Personal Variable #23 in the ReadMe for details on this.
http://www.dansie.net/cart_readme.html
7. Also, check your product forms that you are using. The submit button tag needs to contain: NAME="add" like so:
<INPUT TYPE=SUBMIT NAME="add" VALUE="Put in Shopping cart">
If you are using a custom image as a submit button then make sure you have these two tags in your forms:
<INPUT TYPE=HIDDEN NAME="add" VALUE="1">
<INPUT TYPE=IMAGE SRC="http://www.YourSite.com/add.gif" NAME="Order">
8. You have exceeded disc space on your website.
9. Your browsers cache settings are set to use cached copies too often rather than request a fresh copy from the server.
10. Disable the Add and Redirect feature of PV#49. I have seen that cause problems with some browsers.
11. Your server could be misconfigured where the environment variable REQUEST_METHOD always yields "get" even when the request method was "post".
12. If you have modified the cart.pl script.


# 17: Permanent link
Question:
Why am I seeing a lot of HTML tags in the email receipts?

Answer:
If you are seeing a lot of HTML tags appearing in the email receipts because you put HTML tags in your lang.dat file, then try setting Personal Variable #57 to "text/html" (without the quotes).

# 18: Permanent link
Question:
Can I make a custom payment option?

Answer:
Yes. See Personal Variable #62 in the ReadMe. Also, are you currently using the COD payment option? PV#45? You can "hijack" that payment option too if you wish and use it for something else. Just set PV#45 to "0.00" to turn it on (without the quotes). Then go to lang.dat #97 and #98 and customize those.

# 21: Permanent link
Question:
Does the Dansie Shopping Cart use cookies?

Answer:
Yes. See Personal Variable #39 in the ReadMe. You can have your cart use cookies to identify your customers by or their IP address. Since cookies are a much more unique identifier and more reliable, they are recommended over using IP addresses. However if you have a customer that doesn't have the cookies turned on in their browser, there is a good chance the cart will detect that and switch to using their IP address for identification instead. So actually, you can set your cart to use cookies and IP addresses, or just IP addresses only.


# 22: Permanent link
Question:
What is in the cookies that the Dansie Shopping Cart sets on my computer?

Answer:
The Dansie Shopping Cart can set two cookies if you have Personal Variable #39 set to use cookies. The first one is just a number. It will be the number that the cart gets from your invoice.dat file. It will be used to identify that customer when they place a second and third item in their basket, or when they complete their order. The second cookie that the cart sets is the customers shipping address. It is set to expire in one year. If that same customer comes back to your site 11 months later, they wont need to type in their shipping address in a second time. The cart will fetch the cookie from their computer and fill in their shipping address for them automatically. A convenience for your customer.

# 23: Permanent link
Question:
Which real-time credit and debit card processors and secure servers is the Dansie Shopping Cart currently compatible with?

Answer:
The Dansie Shopping Cart is currently compatible with and works seamlessly with over 20 online real-time credit and debit card processors:

You can see the complete list in section 11 of the ReadMe:
http://www.dansie.net/examples/ReadMe.html#processors

--------------------------------------

Don't see your real-time processor listed? Visit this page:
http://www.dansie.net/new_processor.html

The Dansie Shopping Cart can also do batch processing without a real-time processor. See:
http://www.dansie.net/creditcards.html

For more details, see section 11 in the ReadMe.
http://www.dansie.net/cart_readme.html


# 24: Permanent link
Question:
Does the Dansie Shopping Cart work with PGP to email my customers credit card numbers to me in an encrypted manner?

Answer:
The Dansie Shopping Cart works with various versions of PGP on both Unix and Windows NT hosts. It also works with GPG. For more details, see Secure Server Variable #10 in the ReadMe.
http://www.dansie.net/cart_readme.html
See also:
http://www.dansie.net/creditcards.html
http://www.pgpi.org/
http://www.gnupg.org
http://en.wikipedia.org/wiki/Pretty_Good_Privacy


# 25: Permanent link
Question:
How do I get the Dansie Shopping Cart to search my flat-file product databases that I created.

Answer:
See section 4 in the Template.html file. It has examples and detailed instructions. You can download the latest Template.html file in the ReadMe package.
http://www.dansie.net/cart_readme.html


# 26: Permanent link
Question:
What are the differences between standard forms described in section 1 of Template.html and multi-item forms described in section 2 of Template.html?

Answer:
Standard forms allow you to do powerful things. You can use pull-down (SELECT) menus in your forms with options that may change the price of the item according to what you select. Each standard form will have it's own button (or graphic button) with it.

Now multi-item forms allow you to place many products into your basket with just one button click. Numerous products can be listed in a multi-item form, each with a check box. Then there is just one submit button at the bottom of the form for all the items. Only the items selected will be placed into the basket. However, multi-item forms cannot have powerful pull-down menus like the standard forms can.

Tips on using standard forms:
Always follow the examples in section 1 of Template.html. Copy and paste the example form and change the ACTION URL to the URL of where your cart.pl script is hosted. Change the VALUEs to describe your products. Don't make a large complicated form without testing it as you go. Always test your forms as you build them so you can see if you are putting something in it that wont work with HTML.

Tips on using multi-item forms:
Always follow the examples in section 2 of Template.html. Copy and paste the example form and change the ACTION URL to the URL of where your cart.pl script is hosted. Change the VALUEs to describe your products. This Tag needs to be in all multi-item forms:
<INPUT TYPE=HIDDEN NAME="name" VALUE="multi-items">
The values inside the quotes are case sensitive.

If you have more than 20 items in a multi-item form and items 21 and higher never seem to make it to the cart, then see Personal Variable #1 in the ReadMe. Set PV#1 higher.

By reading the instructions carefully in section 1 and 2 of the Template.html file, and testing your HTML forms as you build them, you can save yourself many headaches.

You can get a copy of Template.html in the ReadMe package here:
http://www.dansie.net/cart_readme.html


# 27: Permanent link
Question:
What are the differences between the Mall Version and the standard version?

Answer:
The Dansie Shopping Cart Mall Version allows you to host an unlimited number of virtual shopping carts with just one script. That script will need to be accessed through just one virtual domain name. You can host the merchants products on any website you want with the purchase buttons linked to the same mall version script on a different site than where the product pages are. When the "Continue Shopping" button is pressed in the cart, the shopper will be sent back to the same site they came from. The wallpaper, company logo, fonts, etc will look the same in the cart as the website selling the products so the theme stays the same. For more details and an online demo, see:
http://www.dansie.net/mall.html


# 28: Permanent link
Question:
What are .htaccess and .htpasswd files? And what can they do?

Answer:
.htaccess and .htpasswd files can be used to password protect directories on Unix hosted websites. They can prevent people from accessing a directory and all files in it, unless they enter a correct user name and password.

Some .htaccess tutorials are here:
http://hoohoo.ncsa.uiuc.edu/docs/tutorials/user.html
http://www.barmaton.nl/help/htaccess.html

A .htpasswd toolkit can be found here:
http://www.dansie.net/htpasswd_toolkit.zip


# 29: Permanent link
Question:
Can I upgrade my standard version Dansie Shopping Cart to a Mall Version for the difference in price?

Answer:
Yes. You can upgrade your standard license to a Mall Version here:
http://www.dansie.net/mall.html
This is not a new license, but an upgrade for an existing license.


# 30: Permanent link
Question:
My customers have placed orders, but I'm not getting the order emails. Where can I find the missing order data?

Answer:
First, see Secure Server Variables #8 and 13 and Personal Variable #80 in the ReadMe. Make sure all of them are set. Then you will have a copy of the pending order emailed to you before they submit their credit card data and also have a written copy in a datafile on your website as well as a backup.
http://www.dansie.net/cart_readme.html
If you are using the ssl.pl script, see also "RECORDING ORDERS TO DATA FILES. ORDER TRACKING" near the top of ssl.txt.

You may have email filters trashing your good emails. It's a possibility. See PV#2 and SSV#13 in the ReadMe. Set more than 2 email addresses in each one. Perhaps one with an Yahoo or Hotmail address. This can help you determine and rule out if you have an aggressive email filter.

The shopperid.dat file is like the cart's counter. It increments when a new person uses the cart, and not when an order is placed. Your website visitors may play with your cart without placing an order. Or they may place an order via "Check Or Money Order" but not mail you the check. So if you only see orders with invoice numbers 15, 25, 33, 38, etc, that is normal and you are not necessarily "missing" orders.

ABOUT GMAIL, YAHOO AND AOL EMAIL

Gmail, Yahoo and AOL began deleting emails that have a @gmail.comm, @yahoo.com or @aol.com email address in the From header, but did not originate from their servers. You wont even find the email in your Yahoo or AOL junkmail folder. Dansie Shopping Cart version 3.74 uses the merchant's email address in the From header and puts the customers email address (possibly an AOL or YAHOO address) in a Reply-To header.


# 31: Permanent link
Question:
Can the cart work with Google Adwords or other affiliate or tracking programs?

Answer:
See "Affiliate Programs" near the end of section 14 of the ReadMe.
http://www.dansie.net/cart_readme.html
Use the NOSCRIPT portion of the tracking code. Not the JavaScript. It can work.


# 32: Permanent link
Question:
My server appears to be uploading all my files in binary format even though I have my FTP program set to ASCII format. How can I fix this?

Answer:
If your host isn't allowing FTP uploads to transfer in ASCII mode even though you set your FTP program to upload a file in ASCII, ask your host to locate some lines in their FTP Config file which reads:

#By default the server will pretend to allow ASCII mode but in fact ignore the request.
ascii_upload_enable=NO

Ask them to change it to:
ascii_upload_enable=YES

If they are using VSFTP (vsftpd), the config file may be located at: /etc/vsftpd/vsftpd.conf

If they are using a different FTP server, but can find the config file, maybe searching for the word "ascii" would be enough to get them to the right spot.


# 33: Permanent link
Question:
Does the Dansie Shopping Cart work with Authorize.Net?

Answer:
Yes the Dansie Shopping Cart version 3.39+ works seamlessly with the real-time credit card processing services of AuthorizeNet SIM method. For full details see section 11 in the ReadMe.
http://www.dansie.net/cart_readme.html


# 34: Permanent link
Question:
How do I set AuthorizeNet SIM to automatically return my shoppers browsers to the shopping cart's receipt page?

Answer:
AuthorizeNet doesn't have this option.

According to our records, AuthorizeNet SIM has never auto redirected shoppers browsers back to the shopping cart after they accept their credit card data.

For many years we employed a trick that caused their browser to auto redirect by passing some meta tags that caused the redirection after the transaction. However, MSIE has recently started stripping out meta tags that are passed in form data, viewing them as a security risk.

Make sure you have the Pending Order Notice in Secure Server Variable #13 set so you will get the order details. Your shoppers will need to click on a link on the AuthorizeNet page to return to the cart to get their email receipt, but if they do not, you still have a copy of the receipt in the Pending Order Notice.


# 35: Permanent link
Question:
How do I make purchase buttons on the pages of my website that sends shoppers to my shopping cart?

Answer:
Click on START, PROGRAMS, then ACCESSORIES, then click on Notepad. Now with Notepad open click on FILE and then OPEN. Then direct your computer to one of your HTML documents (web pages).

Now you will see it in plain text. You can then highlight the HTML form in section 1 of Template.html with your mouse pointer and then right click and copy, then multi-task back to your HTML document (opened in Notepad) and right click and PASTE the HTML form into that document. Then select SAVE. Then open your HTML document in your web browser to see it's new little purchase button.

Modify the VALUEs in the HTML form to describe your product name and price, etc.
Here is an example:
http://www.dansie.net/cart_form_source.html
For complete details, see Template.html in the ReadMe.
http://www.dansie.net/cart_readme.html


# 36: Permanent link
Question:
How do I make changes to the vars.dat and lang.dat files?

Answer:
Right click on vars.dat and select "Open with...".
Select Notepad. If you don't see Notepad, click "Choose Program" and set Notepad to open your .dat files.

In Windows XP, right click on the icon, then select "Properties". You will see "Opens with:..." click on the "CHANGE" button next to that and direct it to use Notepad.

I recommend making a back-up copy of your vars.dat and lang.dat files from time to time incase you really booger-up something up. Using Windows, right click on vars.dat, drag over to an empty space in the same directory, release and select "Copy here". That will make a copy of the vars.dat file in the same directory with the name of "Copy of vars.dat".

Remember, don't make any changes to your vars.dat or lang.dat file without reading what the ReadMe has to say about that variable first. This will save you a lot of trouble. After you make some changes to your vars.dat or lang.dat file on you computer, you need to upload that file to your cgi-bin on your website so the cart.pl script can read it and use the new settings.

Just FTP into your site, change the directory to your cgi-bin, set the upload format to "ASCII" and NOT "binary". Binary is for images, ASCII is for text files. If you upload a file in binary format it can get corrupted. Once you upload the vars.dat file replacing/overwriting the old vars.dat file, the cart.pl script can then use the new settings. Then run a test order to confirm your new changes have taken effect.

Checklist to make sure you are a vars.dat and lang.dat editing expert:

1. Always make a backup copy of vars.dat or lang.dat before you make changes to them. That way, if you bugger them up really bad, you can just revert to your backup copies.
2. Follow the instructions in the ReadMe for how to set the variables. Don't make any changes to your vars.dat or lang.dat file without reading what the ReadMe has to say about that variable first. This will save you a lot of trouble.
3. Be careful when making changes so that you do not over-write or erase variables or the arrow delimiters that go with the variables.
4. Use a plain text editor to open the file and always save as plain text. Microsoft's Notepad or Mac's SimpleText work good. Do not use an HTML editing program.
5. Upload/download the file to your cgi-bin in ASCII format only (as opposed to binary) You will find this setting in your FTP program.

See also:
http://www.dansie.net/examples/ReadMe.html#important


# 37: Permanent link
Question:
Why is my shopping cart is behaving erratically? Why is it yielding cached posts and old pages?

Answer:
These are some of the symptoms of the problem:
1. The output from the host's server are erratic.
2. The server at times inserts extra content-type headers causing the pages to be served as plain text instead of HTML.
3. The server, some times, when receiving a POST, yields a cached request instead.
4. You will see as you try to run a test order that the results you get are not consistent (erratic).

Notes:
1. I have seen this problem before with a few different web hosts with this server software:
Apache/1.3.14 Ben-SSL/1.41 (Unix) mod_throttle/2.11 mod_perl/1.24_01 PHP/4.0.3pl1 FrontPage/4.0.4.3 rus/PL30.0
2. This is the same cart.pl script that runs on hundreds of websites without this problem.

I see two possible solutions:
1. If your host works with us on identifying the cause of the problem with their machine or Perl interpreter and corrects it. I believe it's the "mod_perl" that is causing the problem.
2. You could use a different web host to host the cart.pl script on. I recommend:
http://www.stormer.com
Dozens of our clients are hosted with Stormer and this problem doesn't happen there. Great service and reasonable rates too. Please keep in mind it is not my intention to cause your current host to lose your business, just trying to help you get your cart working and I can recommend a web host where there are no known CGI Perl problems.


# 38: Permanent link
Question:
How can I remove the "Continue Shopping" button from my shopping cart?

Answer:
There is no switch to turn off the Continue Shopping button, but if you set a URL to an transparent gif in the appropriate lang.dat variable, you can render it gone.

In your lang.dat file, change this:
41 (Continue Shopping Button) -->Continue Shopping
to this:
41 (Continue Shopping Button) -->http://www.YourName.com/images/invisible.gif

You can download a free transparent gif here:
http://www.dansie.net/images/invisible.gif


# 39: Permanent link
Question:
Why isn't the cart passing my meta tag from PV#56 to the ssl.pl script?
I am also getting a security warning message from MSIE about this.


Answer:
MSIE 8 is now stripping out some data such as META tags that are being passed to ssl.pl.

Making PV#56 blank will make the messages go away. But, the latest version of ssl.pl allows you to set meta tags inside the ssl.txt file, so cart.pl doesn't need to pass them over (which MSIE wont allow).

Inquire about an upgrade.
http://www.dansie.net/upgrade_payment.html


# 40: Permanent link
Question:
My shopping cart version is very old. What version do I have? What is the latest version? How can I upgrade to the latest version of the Dansie Shopping Cart with all the latest features?

Answer:
You can view the version of your cart with the "test" query string like so:
http://www.YourName.com/cgi-bin/cart.pl?test

The latest version as of Feb 2010 is 3.69. We can send you a free upgrade if you can cite a verified customer that you referred to us within the last year. Or you can purchase an upgrade here:
http://www.dansie.net/upgrade_payment.html
Prices are on the page.


# 41: Permanent link
Question:
Why is my shopping cart not showing the correct price I have set in my HTML product forms?

Answer:
The Dansie Shopping Cart has a feature where it can add-to or change the price on the fly depending upon custom options selected by the shoppers. You can see this in the Men's Tie example in section 1 of Template.html in the ReadMe package.
http://www.dansie.net/cart_readme.html

This feature is activated by placing a currency symbol in a custom description followed by a number. In order to avoid activating this feature, avoid using the currency symbol in the custom descriptions. Another way would be to deliberately use the currency symbol and set your price in the first custom description "custom1".
"Price $10.00"
The program will ignore all other currency symbols in other custom description tags then.


# 42: Permanent link
Question:
How can I label my custom description tags as they appear in the shopping cart?

Answer:
You can use alternating "custom" tags. Use the odd numbered ones for the name of the description:
<INPUT TYPE=HIDDEN NAME=custom1 VALUE="Color:">
And use the even numbered ones for the actual description:
<INPUT TYPE=HIDDEN NAME=custom2 VALUE="Red">


# 43: Permanent link
Question:
How customizable is the Dansie Shopping Cart?

Answer:
The Dansie Shopping Cart is very flexible and customizable in that you can define two different fonts (color, size and face), wallpaper or background color, company logo, up to 8 different payment options, etc. Even the language is completely customizable because it's in a separate data file called lang.dat. See:
http://www.dansie.net/lang.dat
All the submit buttons in the cart may be changed to custom image buttons instead. And much more.

There are many neat ways you can customize the carts pages. Check this out:
http://www.dansie.net/real_carts.html

This is all done from the vars.dat and lang.dat files.
See section 4 in the ReadMe for more details.
http://www.dansie.net/cart_readme.html

You can find some more diverse examples from live customer carts here:
http://www.dansie.net/real_carts.html

Be sure to see the online demo:
http://www.dansie.net/demo.html


# 44: Permanent link
Question:
Can you help me with Dansie Mail?

Answer:
The Dansie Mail script is free to use. There is no technical support provided for it. If you like I can FTP in and run some diagnostics for $35. The problem may be with the server's sendmail program and not necessarily with the way you have the script configured. If there is a problem with how you have the script or a form configured, I can fix it for you. If it's a problem with the server, your host would need to assist you with that. You can order service here near the bottom of the page:
http://www.dansie.net/mail.html


# 45: Permanent link
Question:
Can the Dansie Shopping Cart adapt to my existing flat-file product databases?

Answer:
The Dansie Shopping Cart can adapt to and read nearly any existing flat file database. You tell the program what order your fields are in and what field delimiter you are using. See sections 12 and 13 of the ReadMe.
http://www.dansie.net/cart_readme.html

Exporting MS Access files:

Click "File"
Save As/Export...
To an external file or database.
Select "Text Files" (File name extension. This will force plain text format.)
Click "Export".

Choose delimited format.
Click "next".
Select delimiter. TAB or "|" character recommended.
Set text qualifier as "none".
You may checkmark "Include field names on first row" if you wish.
Then click "Next", then click "Finish".


# 46: Permanent link
Question:
How can I edit my flat-file databases?

Answer:
There are several options including a couple of outside programs that can be used to build your flat file databases:

1) There is a program called DBMan:
http://ssl.securesites.com/db.cgi?db=test
http://www.gossamer-threads.com/
2) You can use any plain text editor such as Wordpad.
3) There is also MS Access and Excel that customers report using for database management.


# 47: Permanent link
Question:
How do I get technical support for the Dansie Shopping Cart?

Answer:
1. Search this FAQ.
2. Send us an email through the contact form on this website.
http://www.dansie.net/question.html
3. Always include the full URL to you cart.pl script when you write so we can help you. This also serves as your customer ID.


# 48: Permanent link
Question:
Are there any limits to the size I can make my flat-file databases?

Answer:
The limits of the size of your database is largely dependent upon your host machine's processing speed, RAM, traffic load, if you have a class B or C server, etc. Here is a link to one customer that has over 100,000 items in their database:
http://www.rhis.co.uk/cgi-bin/cart.pl?db=rev.dat&merchant=rev


# 49: Permanent link
Question:
How do I add items to my store so people can put them in my shopping cart?

Answer:
With the Dansie Shopping Cart you have many options and different ways in which you can add items to the cart using either HTML forms, flat-file databases or HREF links.

HTML form example:
http://www.dansie.net/cart_form_source.html
Using FrontPage:
http://frontpage.stormer.com

Database example:
Source: http://www.dansie.net/stuff.dat
Interpreted display:
http://www.dansie.net/cgi-bin/scripts/cart.pl?db=stuff.dat&category=Books
http://www.dansie.net/cgi-bin/scripts/cart.pl?db=stuff.dat&category=Clothing

HREF link example:
http://www.dansie.net/cgi-bin/scripts/cart.pl?name=Purse&price=20&custom1=Black+Leather
Section 6 in the Template.html file has more details on this method. You can download it in the ReadMe package.
http://www.dansie.net/cart_readme.html


# 50: Permanent link
Question:
How customizable are the flat-file database display pages?

Answer:
You can control the wallpaper or back ground color, two fonts (size, face and color), you can insert a custom header text file (navigation menu) or have it appear on the top, left, right and bottom sides of the database display (Database Variable #22 and #27). See an example here:
http://www.dansie.net/cgi-bin/scripts/cart.pl?db=stuff.dat&category=Books
If you have pull-down menus appear in your database, you can choose if you want them aligned left, right, or center. Also they can be stacked or side by side. You can choose to have thumbnail images in the database display or not have them. And of course, all text is customizable by a separate plain text data file called "lang.dat".
http://www.dansie.net/lang.dat

The buttons can autocalc the total of each item, or you can turn the JavaScript off and just have the buttons say, "Click To Order" or something like that.

There are two graphics at the bottom of the cart. HOME and VIEW CART. You can define the URL to those graphics. If you don't want to use graphics for those buttons, just leave those variables blank and you will see text instead.

All this and more is in sections 12 and 13 of the ReadMe.
http://www.dansie.net/cart_readme.html


# 51: Permanent link
Question:
Can the Dansie Shopping Cart handle discount pricing?

Answer:
Yes. The Dansie Shopping Cart currently has three discount features. See full details on how to use them in Personal Variables #52 and #59 in the ReadMe.
http://www.dansie.net/cart_readme.html
And Volume Discount Pricing in section 1C of Template.html also in the ReadMe package.


# 52: Permanent link
Question:
Why isn't the shopping cart applying discounts from the discount.dat file?

Answer:
Here are some common problems to check with your discount.dat file:

1. Is the file named "discount.dat"?
2. Is it in the same directory as the vars.dat file?
3. Did you upload the discount.dat file in ASCII format and not binary format?
4. Note that a zero "0" is not the same as a letter "O". A numeral "1" is not the same as a letter "l" and can be mistaken for each other when typing in coupon codes.
5. Did you set Personal Variable #59 in your vars.dat file?


# 53: Permanent link
Question:
Can the Dansie Shopping Cart work on a website with frames?

Answer:
Yes! Here is the key to using frames with your Dansie Shopping Cart:

1. Set HV#2 to a URL that does NOT load frames.
2. Set HV#12 to a URL that DOES load frames.
3. Leave HV#11 blank.

4. Make sure all your URLs in your "return" tags are a to a page that does NOT load frames.
<INPUT TYPE=HIDDEN NAME=return VALUE="http://www.YourName.com/rightframe.html">

5. If you want an <A HREF> link or a FORM's purchase button to load the cart in a different frame, then set the TARGET attribute to the name of the frame you want the cart to load in. Example:
<FORM METHOD=POST ACTION="http://www.YourName.com/cgi-bin/cart.pl" TARGET="right_frame">

6. Do not use TARGET attributes in a frame in which you want the cart to load in the same frame. Example:
<FORM METHOD=POST ACTION="http://www.YourName.com/cgi-bin/cart.pl">

The names of your frames are in the parent page that loads them. If you are not sure what the name of your frames are, ask your webmaster.


# 54: Permanent link
Question:
How do I edit my HTML forms?

Answer:
Right click on a .html, .htm or .shtml document and select "Open with...".
Select Notepad. If you don't see Notepad, click "Choose Program" and set Notepad to open your .html documents.

Copy and paste a template from Template.html in the appropriate place in your document. Change the product name, shipping, return URL, ACTION, etc in the template. Select FILE and SAVE.

You can download the Template.html file in the ReadMe package here:
http://www.dansie.net/cart_readme.html


# 55: Permanent link
Question:
Why is my limited.dat file not decrementing after an order is placed with an item that's listed in it?

Answer:
Tips:
1. "limited.dat" must be spelled correctly.
2. limited.dat must be in the same directory that vars.dat is in.
3. write permissions on limited.dat must be set.
4. The names of the items must be in the left fields of the limited.dat file. (It's case sensitive too.) Is the name of the item as it appears in the "name" tag spelled exactly the same in the left field of limited.dat? (Case sensitive.)
<INPUT TYPE=HIDDEN NAME="name" VALUE="Super Widget">
5. If a shopper places an order via the credit card payment option, their browser must be returned to the shopping cart's Return URL (thank you page) in order for the limited.dat file to be decremented.


# 56: Permanent link
Question:
Why did I get an email receipt with no shopper ID number and a $0 grand total?

Answer:
There are a few ways the cart would issue a receipt with no shopper ID number and a $0 grand total:

1. The shopper puts an item in the basket, but doesn't finish submitting their credit card info until after the time allotted in PV#23. Make sure PV#23 is set to at least 1 or higher.

2. A customer has a dial-up account with a dynamic IP address. They have cookies disabled in their browser. The cart identifies them by their IP address, but they are disconnected from the internet and they reconnect and are assigned a different IP address. When they complete their order by submitting their credit card info, the cart can't identify them because they have cookies disabled and a different IP address.

3. If you use a mix of URLs in your FORM tags and Host Variable #1 like so:
http://www.YourName.com/cgi-bin/cart.pl
http://YourName.com/cgi-bin/cart.pl
Notice that one URL has "www." and the other doesn't. You need to decide on a URL and use the same URL throughout your site in all your FORM tags. That URL needs to match the URL set in Host Variable #1.

These things can happen, but they would be very rare.


# 57: Permanent link
Question:
Why doesn't the shopping cart include the password in the email receipt after I purchase an item in passwords.dat?

Answer:
1. Make sure that the "passwords.dat" file is spelled correctly.

2. Make sure the passwords.dat file is in the same directory that your
vars.dat file is in.

3. Make sure that the left fields in your passwords.dat file matches
exactly what you have in the custom description tags of your HTML forms. It
is case sensitive. See details on this in section 14 of the ReadMe.
http://www.dansie.net/cart_readme.html

4. If you have system paths to an .htpasswd file in your passwords.dat file, make sure those system paths are accurate. Use this tool kit to make sure your htaccess and htpasswd files are set up correctly:
http://www.dansie.net/htpasswd_toolkit.zip

5. Make sure that the .htpasswd file is writable. Chmod 666 on Unix. After you run a test order, check to see that the .htpasswd file was written to. Open it up and see that your email address and crypted password are in it. If not, either it's not writable, or your system paths in the passwords.dat file are not accurate.

6. If your email address appears in the .htpasswd file more than one time and you are having trouble logging in after running at test order, remove your email addresses and passwords from the .htpasswd file and run a new test order. Then try to login with the new password.


# 58: Permanent link
Question:
Why doesn't PayPal allow shoppers to use their credit card? Why does PayPal require people to sign-up with PayPal first?

Answer:
PayPal does NOT require shoppers to be PayPal members to make a transaction with their credit card.

What you see when your browser lands on the PayPal website and what your customer sees may be two different things. If you have recently logged into PayPal, PayPal sets a cookie in your browser so when you return, it knows you are a member and just asks for your password. If you don't have a PayPal cookie, PayPal would ask for your credit card number.


# 59: Permanent link
Question:
Why am I getting so many email receipts from the shopping cart after someone places an order?

Answer:
Much of the info is redundant as described in Secure Server Variable #13 in the ReadMe.

If a shopper submits their shipping/billing address to the cart.pl script, you will get a "Pending Order Notice" via email if SSV#13 is set. Also, pending.dat will be written to if PV#80 is set.

If the shopper doesn't submit their credit card data with the real-time processor, then it dies there. If the shopper does submit their credit card data and it's approved, the real-time processor will send you an email confirming the transaction.

And last, if the shopper's browser returns to the Return URL (cart.pl script's receipt page) then you will receive an email identical to the "Pending Order Notice" and the tracking.dat file will be written to, identical to the pending.dat file. (Personal Variables #2 and #69.)

If you do get an email from the credit card processor confirming a transaction, but don't get the final email receipt from the cart, then you know that the shoppers browser didn't make it back to the cart.pl script's receipt page and you can use the "Pending Order Notice" to fill the order with.

The credit card processor will also often send you an email receipt as well. It usually doesn't contain order details, but just confirming that a transaction has occurred, your customer's name and the amount.

The ssl.pl script is a separate script in the case that you want to run it on a different host than the cart.pl script. However, in so doing, you will get two emails for each order. One from the ssl.pl script with the credit card info and one from the cart.pl script with the order details. However, they will have matching shopper ID numbers in the subject header so you can easily match them up. In your email client, you could even "sort" your emails by subject and they will all be right next to the correct matching emails.


# 60: Permanent link
Question:
How do I install PGP / GnuPG (GPG)? How do I get PGP working?

Answer:
You must first ISOLATE and test pgp to see if it's working and if you have the correct variables set for it. If PGP is installed and configured correctly on your host and you have the correct variables for the top of the pgp_test.pl script, it will work.

When you point your web browser at the pgp_test.pl script, PGP will make an encrypted version of the pgp_test.txt file in the temp directory. Once you see that working, the rest is a piece of cake.

You just set the PGP variables in ssl.txt that you KNOW work because you just tested them with the pgp_test.pl script and it worked there. Download and use this test script:
http://www.dansie.net/pgp_test.zip

We don't know what the variables should be set to in your pgp_test.pl script. Your host should know since they installed PGP on their server. Also, we don't know if PGP has been properly installed and configured. Your host should know. We provide the pgp_test.pl script as a courtesy so you can isolate PGP and confirm that it's working and you have the correct variable settings for it BEFORE attempting to set the PGP variables in ssl.txt and get it to work with the ssl.pl script.

You will need to ask your host to demonstrate and prove that PGP is working with the use of the pgp_test.pl script. After your host helps you with that, you will then have the information you need to set the PGP variables in ssl.txt with. Follow these instructions carefully:
http://www.dansie.net/pgp_test.zip


# 61: Permanent link
Question:
My shopping cart (cart.pl or ssl.pl) says, "500 Internal Server Error"? How can I fix it?

Answer:
To test the script, point your browser at it like so:
http://www.YourName.com/cgi-bin/cart.pl?test

1. Check the file permissions for cart.pl and the cgi-bin directory that they are 755. Chmod the cart.pl script and the cgi-bin directory 755 if necessary (if your host is Unix).
2. Was the script recently re-uploaded to the server? Upload the cart.pl script in ASCII format and not binary format.
3. Are you trying to run the cart.pl script on a domain that it is not registered for use on? If you are moving the cart to a new server, the cart will work after the domain name has been transferred.
4. Some servers require a different shebang line. change the first line in the cart.pl script to:
#!/usr/local/bin/perl
and if that doesn't work, try:
#!/usr/bin/perl5
and if it still doesn't work, change it back to:
#!/usr/bin/perl
5. Still not working? Ask your host if they support Perl.


# 62: Permanent link
Question:
Do you have a referral program where we can earn credits towards free Dansie Shopping Cart licenses?

Answer:
Yes! We have a new Referral Program that enables you to earn free Dansie Shopping Carts. This will come in handy for many web designers. For full details, see:
http://www.dansie.net/cgi-bin/referral.pl

Always click on your referral link before you place an order. Also, you could check your www.dansie.net "referral_id" cookie in your browser and make sure that it has the value of your referral ID and not "dansie.net". You can see what your current referral ID cookie's value is by going here:
http://www.dansie.net/cgi-bin/referral.pl
and look near the top of the page. If your referral ID isn't the value of the cookie, close your browser, delete your browser's cookies, then reopen your browser and click on your referral link before you order a shopping cart license.

Also, you can purchase a discount package of 5 licenses for $500 and resell each license for whatever you like. If you need any help installing them, I'm here to help too. Full technical support with each one. See:
http://www.dansie.net/cart_order.html


# 63: Permanent link
Question:
What is the difference between the Dansie Shopping Cart's built-in flat-file database search engine and the Dansie Search Engine?

Answer:
The Dansie Shopping Cart has a built in search engine that can search your product databases if you choose to use product databases. However it cannot search your static web pages. See a demo of it near the middle of the page here:
http://www.dansie.net/demo.html

The Dansie Search Engine is a separate script that can search the web pages on your website. See:
http://www.dansie.net/search.html
It doesn't search product databases though if you are using those.

The Dansie Search Engine is VERY easy to install. There are only 4 required variable to configure and it will work! It does a "real-time" search meaning it will open and read each line of all your .htm or .html documents on your website in just a few seconds. And it will return links to the pages matching the search query. It also ranks and sorts pages in a number of ways so that the most relevant page links will be listed first. Installation included if you need any help.


# 64: Permanent link
Question:
I'm not receiving any order emails from the shopping cart. How do I get email working?

Answer:
RECORDING ORDER INFORMATION TO DATA FILES ON YOUR WEBSITE:

Before you diagnose and fix your server's sendmail problem, be sure to see Personal Variable #69, #80 and Secure Server Variable #8 in the ReadMe and set those variables so you wont lose any order information.
http://www.dansie.net/cart_readme.html
The cart will record order info to data files on your website.

DIAGNOSING YOUR SERVER'S SENDMAIL PROGRAM:

If you have ran some test orders with the cart and didn't receive any email receipts, you may need to first isolate your server's sendmail program and confirm that it's working. We have a variety of test scripts below that you can use for testing Unix sendmail programs as well as Blat and Windmail on Windows servers.

Unix sendmail test script: http://www.dansie.net/email_test.zip
Blat test script: http://www.dansie.net/blat_test.html
Windmail test script: http://www.dansie.net/windmail_test.html
Socket test script (Unix or Windows servers): http://www.dansie.net/email_socket.zip

If you don't receive an email from your sendmail program using the test script, then email the test script to your host and ask them for assistance. Use the test script to collaborate with your host until they prove that their sendmail program is indeed working.

AFTER YOU HAVE CONFIRMED YOUR HOST'S SENDMAIL PROGRAM IS WORKING:

Make sure you have your correct email address set in Personal Variable #2, Secure Server Variable #11 and SSV#13. It's possible you have email filters that are deleting your good emails, so try setting more than one email address in these 3 variables to rule out that possibility.

Many Unix hosts are now requiring the use of the -f switch. If so, see details about the -f switch in Host Variable #6 in the latest ReadMe.

The cart has an email log (cart.pl version 3.43+) that can record the commands it used to access your server's sendmail program, the date/time and the email headers it sent as well. To activate the email log, create a file called "email_log.txt" in the same directory as your vars.dat file. Make sure you set write permissions on this file (chmod 666). After you run a test order, download email_log.txt via FTP and you can see the command the cart used to send information to your server's sendmail program.

SPECIAL NOTE ABOUT ssl.pl:

If you are using the ssl.pl script and you are not receiving your customers credit card numbers via email from it, then see the "SENDMAIL VARIABLES" section near the top of ssl.txt. After you have confirmed email is working, be sure to use PGP to encrypt credit card data via email for security.

See Host Variable #6 in the latest ReadMe for more details and info about diagnosing your server's sendmail program and getting it to work with the cart.

ABOUT CREDIT CARD PROCESSORS:

If the shopper's browser isn't returned from the credit card processor's site back to the shopping cart's receipt page, the final email receipt to the customer will not be sent. You can forward them a copy of your Pending Order Notice which is identical.

Some credit card processors automatically return the shopper's browser back to the cart's receipt page. Other processors stop on a page on their website and require the shopper to click a link to return to the cart's receipt page. They don't always click it.

ABOUT GMAIL, YAHOO AND AOL EMAIL

Gmail, Yahoo and AOL began deleting emails that have a @gmail.comm, @yahoo.com or @aol.com email address in the From header, but did not originate from their servers. You wont even find the email in your Yahoo or AOL junkmail folder. Dansie Shopping Cart version 3.74 uses the merchant's email address in the From header and puts the customers email address (possibly an AOL or YAHOO address) in a Reply-To header.


# 65: Permanent link
Question:
Does the Dansie Shopping Cart work with MySQL and PHP?

Answer:
Essentially, a MySQL "backend" is what you need for the database. When
queries are made to the mysql db, the returned results are displayed in
standard html forms that are compatiable with the Dansie Cart. PHP is quite
handy for achieving this. If you are experienced with ASP, I hear the same
results can be accomplished.

The cart itself has plenty of speed and can handle many visitors at one
time. ( thousands ). However, if you have a very large database of
products, then a mysql/php/asp backend for adding your products and allowing
searches can greatly enhance the use of the cart. See this demo:
http://cartdemo.stormer.net/


# 66: Permanent link
Question:
My host sucks! Can you recommend a new and knowledgeable host with great service?

Answer:
I highly recommend Stormer Hosting. I have had 4 other web hosts and Stormer has provided the best service and has been the most reliable for several years now. The prices are very reasonable too. Check it out:
https://www.stormer.com/


# 67: Permanent link
Question:
I'm getting a lot of spam in my cart's temp directory. Many files are full of spam. What's going on?

Answer:
See near the bottom of the "Security Check List" in section 1 of the ReadMe regarding the "temp" directory.
http://www.dansie.net/examples/ReadMe.html

See also Personal Variables #88 and 89 in the ReadMe for new security features designed to thwart spam bots.


# 68: Permanent link
Question:
Can I link my thumbnail images in the shopping cart to larger images?

Answer:
Yes the cart can automatically link your thumbnail images to larger images or HTML pages even. This works with both HTML forms and databases.

Click here:
http://www.dansie.net/cart_form_source.html
Notice the new "img2" tag.
Put the purse in the cart.
Click on the thumbnail.

Click here:
http://www.dansie.net/cgi-bin/scripts/cart.pl?db=stuff.dat
Noticed some of the thumbnails there are linked to larger ones.
This is how images are fed to the cart.pl script with databases:
||||||purse.jpg::purse_large.jpg|||
instead of only:
||||||purse.jpg|||

See details in various sections of Template.html and near the end of section 13 of the ReadMe.
http://www.dansie.net/cart_readme.html


# 69: Permanent link
Question:
Can the shopping cart be ran in SSL encryption or https mode?

Answer:
Yes. The cart.pl script doesn't collect credit card data, so there is no real need to run it with encryption. But, you could buy a site security certificate for you site and then you would be able to set Host Variable #1 with "https". All cart pages would then be encrypted. Your web host would be able to assist you with obtaining a site security certificate.

# 70: Permanent link
Question:
I have a site security certificate and I set Host Variable #1 with an "https" URL. It appears to be working, but my browser is giving me a security warning message. Or, my browser says: Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party.

Answer:
When you view a page in "https", every image on that page also needs to be loaded in "https" or your web browser will give you a security warning. So check all URLs in your vars.dat and lang.dat file to jpg, gif, png files, etc. Such as Host Variables #3, 4 and 5. Database Variables #2 and 16. Secure Server Variables #5 and 14. Also, you may have URLs to image files in your lang.dat file.

If you get this type of error message when clicking the Continue Shopping button, you may set HV#2 with an "https" URL. Or, adjust the "return" form field for your items to be "https".


# 71: Permanent link
Question:
How can I make ssl.pl collect the three digit CVV2 security code numbers on the back of credit cards?

Answer:
Yes the ssl.pl script can do that for you. Open the ssl.txt file and under "MISC VARIABLES" make sure you have "require_3_digit_number" set. Also, in the lang variables below in the ssl.txt file you can adjust the language used to collect the number. The field used actually will hold 4 digits.

In older versions of ssl.pl (versions 2 and 3) the variables are inside the script and not the ssl.txt file.


# 72: Permanent link
Question:
Does the Dansie Shopping Cart prevent cross-site scripting?

Answer:
Yes. Dansie Shopping Cart version 3.69+ thwarts cross-site scripting attempts. All HTML and script tags posted or queried to the script are stripped.

Even without stripping tags, the person posting the content would be the only one that sees their own basket. It's a shopping cart, not a message board.


# 73: Permanent link
Question:
Why do I see the cart.pl script code when I point my browser at it? Why doesn't it execute instead of being served as a plain text document?

Answer:
Your host is serving it as plain text. Try renaming it to "cart.cgi" and see if it executes then. If not, send a link to the script to your host and ask them to set permissions on it so that it will execute and not serve as plain text.

If you are on a Windows server, ask your host and ask them to go to mappings and add this:
.pl c:\Perl\bin\Perl.exe %s %s GET,POST check check


# 74: Permanent link
Question:
After filling out the shipping and billing address in the cart, when you click "enter" to go to the credit card processor's site, an intermediate page appears with the "Click to continue to the secure server" button. This page flashes very briefly. What is this page for?

Answer:
The shopping cart posts the shipping and billing information back to itself for recording. Then, it sends the shopper on to the credit card processor's website. There is nothing for the shopper to fill in on that page, so, as a convenience, the page will automatically redirect them to the credit card processor's website without them needing to click anything. (The ssl.pl script does something similar to this before it returns the shopper's browser to the cart.pl script's receipt page.) You can locate the phrases used on that page in the lang.dat file and say something like, "Thank you. Now sending you to our credit card processor's secure website..."

# 75: Permanent link
Question:
How can I disable or remove the JavaScript confirm pop up box yielded in the ssl.pl script after credit card information has been submited?

Answer:
The JavaScript confirm pop-up box is there to prevent someone from pressing the SUBMIT button twice and making two emails or two database entries. But you can disable it if you wish. Just locate $lang[24] near the top of the ssl.pl or ssl.txt and make it blank like so:
lang[24] = "";
Nothing between the quotes. As always, make a backup copy before you make any changes incase you bugger it up real bad.


# 76: Permanent link
Question:
Why is my IP address in the deny_access_log.dat file?

Answer:
See Personal Variables #88 and 89 in the ReadMe.
http://www.dansie.net/examples/ReadMe.html


# 77: Permanent link
Question:
Why do I get "404 File Not Found" message when I point my browser at my shopping cart?

Answer:
Either your URL to the cart.pl script is not correct, or the cart.pl script is not located at the system path you think it is. For example, it may not be in your cgi-bin. Check to see that the cart.pl script is located on your server where you expect it. If the problem persists, ask your host what the correct system path and correct URL is to your cgi-bin. Your host will be able to help you access files in your cgi-bin.

# 78: Permanent link
Question:
Why don't my HTML forms work properly? Why isn't the cart showing the correct price?

Answer:
You may have made a mistake with your HTML form such as forgetting an important tag. Start with a fresh template from section 1 or 2 of Template.html
http://www.dansie.net/examples/Template.html
Copy and paste the form. Make a couple changes to the form at a time as you customize it and test it as you go. If it doesn't work properly, revert to an older copy or start over with a new template.


# 79: Permanent link
Question:
How can I change the words and phrases used in the shopping cart?

Answer:
With the lang.dat file. See section 4 in the ReadMe for details.
http://www.dansie.net/examples/ReadMe.html


# 80: Permanent link
Question:
Why does my cart say, "Please go back and fill in all required fields"? I have double checked and I think I filled out everything. I can't seem to continue with a test order.

Answer:
See Personal Variable #47 in the ReadMe. You can require or not require any fileds you desire.
http://www.dansie.net/examples/ReadMe.html


# 81: Permanent link
Question:
Can I change the list of states and countries the cart uses in the shipping address drop down menu?

Answer:
Yes. See Personal Variable #74 & 75 in the ReadMe.
http://www.dansie.net/cart_readme.html
See also the default vars.dat file in the ReadMe package. See how PV#74 and 75 are set there.


# 82: Permanent link
Question:
Why doesn't a shopper's basket get erased after they place a transaction via the "Check or Money Order" or "Credit Card Transaction Via Telephone"?
Why doesn't the cart issue the shopper a new shopper ID?


Answer:
The Dansie Shopping Cart immediately empties the shoppers basket after the following types of orders:

1. Secure Online Credit Card Transaction
2. Online Check Draft
3. COD
4. Auxiliary Payment Option

It doesn't immediately empty the shoppers baskets for the following payment options because the sales are not yet final. The customer may decide to go back and add a couple more items to their cart before calling in their credit card number or mailing you their check.

1. Credit Card Transaction Via Telephone
2. Check Or Money Order

See Personal Variable #23 in the ReadMe for details.
http://www.dansie.net/cart_readme.html


# 83: Permanent link
Question:
How can I enable or disable payment options in the shopping cart?

Answer:
See Personal Variables #24, 25, 26, 42, 45, 62 and 81 in the ReadMe.
http://www.dansie.net/examples/ReadMe.html
You can change the phrases used to describe the payment options in the lang.dat file.


# 84: Permanent link
Question:
I'm using the ssl.pl script and I'm getting a warning message that my customer credit card information is not currently encrypted. Please use either PGP or GPG. Is this a script I need to buy and install from Dansie?

Answer:
Your SSL site security certificate encrypts data from your customer's browser to your server, but PGP is needed to encrypt data through email from your web server to your personal computer. Also, credit card data needs to be encrypted if you want to store it on your server. PGP/GPG (GnuPG) can do that for you.

To install PGP, see:
https://www.dansie.net/cgi-bin/faq.pl?faq=60


# 85: Permanent link
Question:
Why is my multi-item form not working properly? It adds items I did not checkmark, or doesn't add items I do checkmark.

Answer:
Start with a fresh template from section 2 of Template.html in the ReadMe package:
http://www.dansie.net/cart_readme.html

Copy and paste an example form and test it without making any change to it except for the URL in the FORM tag. Then, make a small change, customizing it by describing one of your own items. Test it between small changes. If you do something that causes it to not work properly, you will be able to easily catch and fix it.

If you are using the Mall Version, don't forget the merchant tag.


# 86: Permanent link
Question:
Can order data be saved in a flat-file or csv format?

Answer:
Yes. See Personal Variables #69 and #80 in the ReadMe.
http://www.dansie.net/cart_readme.html


# 87: Permanent link
Question:
We are moving our site to a new server and I was wondering how I test the re-installation of the cart on the new server before I update the DNS to point to the new server.

Answer:
Follow the instructions in section 5 of the ReadMe.
http://www.dansie.net/examples/ReadMe.html

Use the "?vars" query like so:
http://111.222.111.222/cgi-bin/cart.pl?vars

If you see your variables and not Internal Server Error, the cart is ready to execute once your domain name propagates.


# 88: Permanent link
Question:
I'm getting this message:

403 Forbidden
You don't have permission to access /cgi-bin/cart.pl on this server.

How do I fix this?


Answer:
The cart.pl script and the cgi-bin directory need to be chmoded 755 so they have execution permissions. See section 5 in the ReadMe for more details.
http://www.dansie.net/examples/ReadMe.html


# 89: Permanent link
Question:
When you add something to the cart you can't always remove it. The cart behaves erratic and show different contents and items that were formerly removed.

Answer:
You need to be consistent with "www." or no "www.". Your web browser sees "www.YourName.com" and "YourName.com" as two different websites. Your browser is maintaining two different cookies for those two websites.

Host Variable #1:
1 Full URL location to cart.pl script -->http://www.YourName.com/cgi-bin/cart.pl

Make sure that this URL matches exactly what you have (or will have) in the ACTION attribute in the FORM tags of your HTML product forms and all your View Cart links. For example, notice these two URLs are NOT the same:
http://www.YourName.net/cgi-bin/cart.pl
http://YourName.net/cgi-bin/cart.pl



Dansie FAQ Wizard 2.0
http://www.dansie.net