Note: This is the ReadMe that comes with the Dansie Shopping Cart Software. e-BlackHills.com has already installed the various components so some parts of this page do not apply.
Examples: /path/to/cgi-bin/temp (UNIX) D:/home/YourName/cgi-bin/temp (Windows_NT)9 System path and name of shopperid.dat file -->
Examples: /path/to/cgi-bin/shopperid.dat (UNIX) D:/home/YourName/cgi-bin/shopperid.dat (Windows_NT)10 System path and name of language File -->
/path/to/cgi-bin/lang.dat (UNIX) D:/home/YourName/cgi-bin/lang.dat (Windows_NT)11 Frames target name -->
sales@YourName.net, orders@YourName.net, dropshipper@YourName.netSeparated by either commas, spaces or both. Note: If you are using the ssl.pl script, customers credit card numbers will be emailed to the email address(s) you set in Secure Server Variable #11.
1.0 = one day. 0.5 = 12 hours. 0.08 = two hours. 0.04 = one hour.The Dansie Shopping Cart immediately removes the following types of orders after they have been placed: It doesn't immediately remove the following 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. 24 Secure online cc transaction payment option -->1
Under $100 - $10 s&h $100 - $200 - $20 s&h $200 or over - Free
Under $100 - 5% $100 - $200 - 4% $200 or over - Free
Order sub-totals Under $55 - $3.95 s&h Order sub-totals Under $100 (but greater than $54.99) - $5.00 Any order $100 and over - s&h is free.Always set this variable from smallest order totals to largest (ie, 55 to 100, not 100 to 55). Any sub-total equalling or exceeding the highest defined would be considered free shipping, so define it as high as you need to. Example: 55,3.95,100,5,200,10,500,25,1000,50
Currency Exchange Rate Feature:51 Wallpaper URL or background color on check draft table -->#808080
If you are having the Dansie Shopping Cart use a currency other than US Dollars, but need to have it translated to US Dollars before sending the customer to i-Check, then set this variable like so:
00000000|.80
The first field to the left of the "|" character will be your ID with i-Check like normal. The field on the right of the "|" character will be the exchange rate. The total will be divided by the number you place here before the customer is sent to i-Check.
abc|10% def|15% 123|10 456|50If a customer enters in a coupon or gift certificate number that matches a string in one of the left fields, the customer will receive the discount in the corresponding right field. Use the "|" delimiter for this file. The gift certificate numbers can be anywhere from 1 to 10 characters long made up of numbers and/or letters. You may designate the values as either percentages or flat amounts. Example: If a customer enters in "abc" they will receive a 10% discount on their order. If a customer enters in "456" they will receive a $50 discount on their order. The discount will apply on the subtotal of their order but not on their sales tax and shipping. So they will still pay for any applicable sales tax and shipping. You may have as many coupon/gift certificate numbers and values as you wish in your "discount.dat" file. The numbers don't delete themselves from the discount.dat file after use. You will need to remove them when you want them removed.
18 -->Mimimum Order:<BR>To place an order, the subtotal must be a minimum of:
The Dansie Shopping Cart can currently calculate shipping six different ways:Back to top.
SHIPPING TYPE ONE: By the pound/kilo/unit:
- By the total weight of all the items. You define the weight of each item. Set Personal Variable #27 to "1" for this method.
- A flat fee per item. Example:
<INPUT TYPE=HIDDEN NAME=sh VALUE="3.50">
Set Personal Variable #27 to "1" for this method. Set PV#30 and PV#31 to something like "1,1.5,2".- Based upon flat rates at various increments of the subtotal. See Personal Variables #34 and #35. Set Personal Variable #27 to "2" for this method.
- Based upon percentages at various increments of the subtotal. See Personal Variables #34 and #35. Set Personal Variable #27 to "2" for this method.
- Custom Database Shipping Tables. If your shipping company doesn't have consistent prices for each additional pound, then this is for you.
- No shipping. You can turn off all shipping calculations in the cart and just say, "Shipping Included" somewhere on your website.
(When var #27 above is set to 1)
Shipping for an item will be calculated according to the sh VALUE in the forms of your HTML pages. Example:
<INPUT TYPE=HIDDEN NAME=sh VALUE="1"> (See Template.html)
Or by the value of the shipping field in your flat-file databases. The script will multiply the sh VALUE times the value of #31 above to determine shipping for that item. If your item is heavier, set the sh VALUE to 2,3 or 10. The denomination of the sh VALUE can be pounds, kilograms, or just hypothetical units. This denomination should be defined by #32 above. #32 will be displayed in your script if (#28) is set to 1 and also it is displayed in the email receipts that the script sends to you after orders have been placed.
Note: The first pound/kilo of the first item will not get the value of #31 but rather the value of #30. This insures that you wont charge someone 50 cents for shipping a one pound item but have to pay $5.95 yourself. Also, if your customer orders only one or two items that weigh less than one pound, the cart will charge them for a full pound. It will charge a minimum of one pound.
An example of setting up shipping by the pound/kilo/unit:
Let say that you decide that each unit (#32) is one pound and you set #32 to "lbs". You call some shipping companies and get current prices as to how much they charge for the first pound and each additional pound. Set #30 to the price for the first pound. If five day ground mail is 5.95 and 2 day air is 8.95 and overnight is 18.95, then set #30 to: (5.95,8.95,18.95); Set #31 the same way except how much you want to charge for each additional pound. eg,(.50,.75,.85);. If an item weighs 1 pound then you will put
<INPUT TYPE=HIDDEN NAME=sh VALUE="1">
in the HTML form in the page where it is sold. If an item weighs 2 pounds then you will put
<INPUT TYPE=HIDDEN NAME=sh VALUE="2">
in the HTML form in the page where it is sold. The shopping cart will multiply the sh value, times the quantity of that item purchased, times #31 (according to shipping method chosen). Then it will substitute one of the regular price values for the #30 values. Therefore:
shipping = (Initial unit cost) + ( (units-1) x price per additional unit)
OR, another way to look at it is:
shipping = (first pound price) + ( (pounds-1) x price per additional pound)
SHIPPING TYPE TWO: Flat fee per item:
(When var #27 above is set to 1)
If you want to charge just a flat shipping fee for each item, in terms of dollars (lets say $4.00), then put this in your form:
<INPUT TYPE=HIDDEN NAME=sh VALUE="4.00">
(Or put "4.00" in the appropriate field in your database if using them.)
and set both #30 and #31 to something like this: (1,1.5,2). This way your cheapest form of shipping will be $4.00, your next shipping method would be $6.00 (4 x 1.5) and your most expensive shipping method would be $8.00 (4 x 2).
Remember, you can provide as many shipping locations as you wish and to as many states and countries as as you like. All you have to do is put more locations (or speeds such as "overnight") in #29, and more values in #30 and #31.
SHIPPING TYPE THREE: Scaled according to the subtotal with flat rates at various increments:
(When var #27 above is set to 2)
This is an easier way to set up your shipping charges, but not as accurate as by the pound/kilo. If you use this method, you will not have to use the "sh" hidden input tags in your HTML forms. Example:
<INPUT TYPE=HIDDEN NAME="sh" VALUE="1">
(Wont be necessary in your forms.)
Example:
$5 shipping for orders totaling $100 or less.
$10 shipping for orders totaling $200 or less.
$50 shipping totaling $1000 or less.
Over $1000, free shipping.
Read PERSONAL VARIABLE #34 and #35 above for details about how to use this shipping method.
If you don't want shipping considered on some particular items, then use a tag like so in your HTML forms:
<INPUT TYPE=HIDDEN NAME="custom1" VALUE="#noshipping#">
SHIPPING TYPE FOUR: Scaled according to the subtotal with percentage rates at various increments:
(When var #27 above is set to 2)
This is an easier way to set up your shipping charges, but not as accurate as by the pound/kilo. If you use this method, you will not have to use the "sh" hidden input tags in your HTML forms. Example:
<INPUT TYPE=HIDDEN NAME="sh" VALUE="1">
(Wont be necessary in your forms.)
Example:
5% shipping for orders totaling $100 or less.
4% shipping for orders totaling $200 or less.
3% shipping totaling $1000 or less.
2% shipping totaling $1000000 or less.
Free shipping when subtotal is over $1000000.
You customize the increments and charges of course.
Read PERSONAL VARIABLE #34 and #35 above for details about how to use this shipping method.
SHIPPING TYPE FIVE: Custom Database Shipping Tables:
(When var #27 above is set to 1)
This method may be used in combination with Shipping Type One and Shipping Type Two. Say you have a shipping company that has an unusual pattern for each additional pound when shipping to Australia. You could set PV#29 like so:
29 Shipping methods -->Standard UPS,2 day UPS,Next day UPS,Europe,Australia
Then you could set PV#30 and #31 like so:
30 Initial shipping cost of first pound -->5.95,8.95,18.95,15.00,shipping.dat
31 Shipping cost for each additional pound -->.50,.50,.50,2,shipping.dat
Notice the fifth field separated by commas in PV#30 and #31 has "shipping.dat" in there instead of a numeric value. This tells the Dansie Shopping Cart to look for this plain text database file in the same directory that your vars.dat file is in. This "shipping.dat" file could look like so:
1|20 2|25 3|31 4|32 5|38 6|39 7|50Pounds/Kilos are in the left fields and the shipping charges are in the right fields. Make sure you put them in order from 1 pound all the way as high as you wish to define your shipping charges. You can name the "shipping.dat" file anything you like. Also, you can use as many shipping.dat files as you like too. Just name them slightly different like "ship1.dat", "ship2.dat", etc.
SHIPPING TYPE SIX: No shipping:
(When var #27 above is set to 0)
No shipping. You can turn off all shipping calculations in the cart and just say, "Shipping Included" somewhere on your website or even in your "lang.dat" file.
NOTICE: In the past some online real-time credit/debit card processors have made NON-backwards compatible changes to the way their system works which caused the Dansie Shopping Cart (and other shopping cart softwares) to no longer be able to work with them. We recommend that you inquire of your processor if they intend to remain backwards compatible and encourage them to do so. Dansie Website Design will not be responsible for loss of compatibility if your processor should make some non-backwards compatible changes. If this occurs, let us know and we can try to adjust the Dansie Shopping Cart to keep up with their non-backwards compatible changes. In some cases where the processors changes were too radical, we had to remove them from our list of compatible processors below.
Cambist
Cambist is a real-time credit card processor and secure server. After you set up an account with the secure server Cambist. http://www.cambist.com they will give you the URL you will need to put in Secure Server Variable #1. If using Cambist as your secure server, set all variables in this section as instructed except for SSV#9 and SSV#10. The Dansie Shopping Cart was designed with Cambist in mind. Cambist is by far the easiest real-time authorization/secure server to set up the Dansie Shopping Cart with. If you are doing "book" transactions with Cambist, then set SSV#9 to "book" (without the quotes). If you would like to activate Cambist's AVSVerify service, then set "AVSVerify" in SSV#9 as well (this will check the validity of address and/or zip). Example:
-->book,AVSVerify
To run a test with Cambist:AuthorizeNet
- Set SSV#1 to: https://cambist.com/cgi-bin/icvtest.pl
- Set SSV#2 to: DEMO
- Put an item in the cart that will cause it to give a grand total ending in a '.05' or '.00'.
- Use these numbers for testing: 4005550000000027 or 5419840000000003
- To go live with your Cambist account, set SSV#1 to: https://cambist.com/cgi-bin/authorize.pl
- Set SSV#2 with your Cambist Merchant ID.
The Dansie Shopping Cart will also work with AuthorizeNet and the following AuthorizeNet "clones" (real-time credit card processors and secure servers.): 2checkout.com, ecx.com, ishopsecure.com, merchantcommerce.net, planetpayment.com, quickcommerce.net, richsolutions.com, rtware.net.
Set Secure Variables 1,2,6 and 7. Follow these steps:Make sure your account is in TEST mode when testing it. Click on "Settings". Then select "General Merchant Settings" and click the "GO" button. Select "Test Mode", then click the "Submit" button. Test credit card number with AuthorizeNet: 5419840000000003
- Set Secure Server Variable #1 to:
https://secure.authorize.net/gateway/transact.dll
For QuickCommerce accounts, set SSV#1 to:
https://secure.quickcommerce.net/gateway/transact.dll
For TRANSACT-SECURETM posting set SSV#1 to:
https://verify.ishopsecure.com/authorizenet/cgi_bin/verify.cgi
For richsolutions.com, set SSV#1 to:
https://www.richsolutions.com/Pay/WebLink.aspx
For the other clones, set SSV#1 to the transaction posting URL they provide you.
- Set SSV#2 with your AuthorizeNet or clone Login ID.
- AuthorizeNet accounts login here: https://secure.authorize.net
QuickCommerce accounts login here: https://secure.quickcommerce.net
Or login to your clone processor.
- Click on "Settings".
- Select "Manage URLs" and click "GO".
- Click "Add URL".
- Enter your Return Link URL in the designated field.
http://www.YourName.com/cgi-bin/cart.pl?SECURITYID
This URL needs to be exactly what you have in HV#1 plus a question mark, plus what you have in SSV#6.
The SECURITYID is what you define in variable SSV#6 below.- Checkmark "Add To List Of Valid ADC / Receipt Link URLs"
- If the Dansie Shopping Cart is your ONLY business using AuthorizeNet as your credit card service, set the cart as "Receipt Link Default URL."
- IMPORTANT NOTE If you use more than one shopping cart program or use your AuthorizeNet account for more than one online business venture (besides the Dansie Shopping Cart) - select "Not A Default URL". Using the Dansie Shopping Cart will not effect your other Default URL or any other URL's that might be existing or set already.
- Last, click the "Submit URL" button.
- Special feature: If you would like transactions to be "authorization only" then set SSV#9 with "AO" (without the quotes). Example:
9 -->AO- Mall Version note: Set your Return Link URL like so:
http://www.YourName.com/cgi-bin/cart.pl?SECURITYID|merchant|MerchantName
Change SECURITYID to what you have in SSV#6 and "MerchantName" to what the merchant's name is.
eProcessingNetwork (Controlled Devices)
eProcessingNetwork (Controlled Devices) is a real-time credit card processor and secure server. http://www.eProcessingNetwork.Com http://www.ctrldvcs.com
- Set this URL in SSV#1:
https://www.eprocessingnetwork.com/cgi-bin/dns/order.pl- Set your login ID with eProcessingNetwork in SSV#2
- Set all variables in this section as instructed. Ignore Secure Server Variables #9 and #10.
InternetSecure
The Dansie Shopping Cart will also work with InternetSecure (a real-time credit card processor and secure server.) http://www.internetsecure.com. Set Secure Server Variables #1,2,6,7,8,11 and 12.
- Put this URL in Secure Server Variable #1:
https://secure.internetsecure.com/process.cgi- Set your merchant ID with InternetSecure in Secure Server Variable #2.
- A test merchant ID number is "22".
- Since InternetSecure needs to know what currency and language you are using, set your currency flag and language in Secure Server Variable #9 separated by a comma. Example:
9 InternetSecure currency flag -->{US},english- Login to your InternetSecure account and set your Return URL to:
http://www.YourName.com/cgi-bin/cart.pl?SECURITYID
This URL needs to be exactly what you have in HV#1 plus a question mark, plus what you have in SSV#6.- The SECURITYID is what you define in variable SSV#6 below.
- It is also recommended to set your email address in SSV#13.
iTransact
The Dansie Shopping Cart will also work with iTransact (a real-time credit card processor and secure server.) http://www.itransact.com. Set Secure Server Variables #1,2,6,7,8,11 and 12.
- Ask iTransact which one of these URLs you should put in Secure Server Variable #1:
https://secure.redi-check.com/cgi-bin/buynow/buynow.cgi
https://secure.itransact.com/cgi-bin/mas/buynow.cgi
https://secure.paymentclearing.com/cgi-bin/mas/buynow.cgi- Put your iTransact Merchant ID in Secure Server Variable #2.
- SSV#9 is used as a special flag for the "ret_mode" value with iTransact. Set it to either "redirect" or "post" or leave it blank. "redirect" or blank are the recommended setting.
- Also, if you accept online checks with iTransact, then put "acceptchecks" in SSV#9 as well. Example:
9 -->post,acceptchecks
- A test credit card number to use with the testaccount is "5454545454545454" exp: 12/01.
Cardservice International
The Dansie Shopping Cart will also work with Cardservice International (CSI) LinkPoint HTML PayOnly service. (a real-time credit card processor and secure server.) http://www.cardservice-network.com and http://www.clearcommerce.com. Set Secure Server Variables #1,2,6,7,8,11 and 12.
Note: CSI doesn't display the shopper ID (invoice number) generated from the shopping cart in the CSI email receipts. So, matching the cart's email receipt order details with the CSI email receipt credit card transaction confirmation may be difficult if your site has large volumes of orders. The Dansie Shopping Cart works with CSI's "PayOnly" service but it does NOT work with CSI's "PayPlus" service.
- You will need to login to your account at CSI or ClearCommerce and set up your account. CSI or ClearCommerce will provide you with your URL, login name and password.
- Login to your account set up and set the "Thank You" Page URL to:
http://www.YourName.com/cgi-bin/cart.pl?SECURITYID
This URL needs to be exactly what you have in HV#1 plus a question mark, plus what you have in SSV#6.- The SECURITYID is what you define in variable SSV#6 below.
- Set your "Sorry" Page URL to:
http://www.YourName.com/cgi-bin/cart.pl?failure
- Mall Version note: Set the "Thank You" and "Sorry" page URLs like so:
http://www.YourName.com/cgi-bin/cart.pl?SECURITYID&merchant=MerchantName
http://www.YourName.com/cgi-bin/cart.pl?failure&merchant=MerchantName
Change SECURITYID to what you have in SSV#6 and "MerchantName" to what the merchant's name is.- Set your "Order Submission Form URL" to the same URL that you have in Host Variable #1 of your vars.dat file.
- Cardservice will tell you to set one of these URLs in Secure Server Variable #1:
https://secureweb.clearcommerce.com/cgi-bin/hlppay
https://secure.linkpt.net/cgi-bin/hlppay- Put your ClearCommerce Merchant ID in Secure Server Variable #2.
- A test credit card number to use with the testaccount is "5419 8400 0000 0003", MasterCard, any expiration date greater than today.
GORealtime E-Commerce Transaction Processing
The Dansie Shopping Cart will also work with GORealtime E-Commerce Transaction Processing (a real-time credit card processor and secure server.) http://www.gorealtime.com. Set Secure Server Variables #1,2,6,7,8,11 and 12.
- Put this URL in Secure Server Variable #1:
https://secure.gorealtime.com/authorize.exe- Put your login ID in Secure Server Variable #2.
- A test login ID number to use in SSV#2 is: 8013732645
- A test credit card number to use with the test account is "4005550000000019", Visa, exp: 12/00.
SECPay
The Dansie Shopping Cart will also work with SECPay, a UK-based credit card processor that works in UK Pounds Sterling. http://www.secpay.com. Set Secure Server Variables #1,2,6,7,8,11 and 12.
- Put this URL in Secure Server Variable #1:
https://www.secpay.com/java-bin/ValCard
- Put your Merchant ID with Secpay in Secure Server Variable #2 followed by "-jredir". Example: "YourID-jredir".
- A test Merchant ID number to use in SSV#2 is: "test-jredir"
- A test credit card number to use with the test account is "5419840000000003", Visa, exp: 12/05.
PaymentProcessor.net
The Dansie Shopping Cart will also work with PaymentProcessor.net (a real-time credit card processor and secure server.) http://www.infodial.net. Set Secure Server Variables #1,2,6,7,8,11 and 12.
- Put this URL in Secure Server Variable #1:
https://www.paymentprocessor.net/cgi-bin/checkout.exe
- Put your Merchant ID with PaymentProcessor.net in Secure Server Variable #2.
- A test Merchant ID number to use in SSV#2 is: 12345678
- A test credit card number to use with the test account is "5419840000000003", Visa, exp: 12/05.
gochargeit.com
The Dansie Shopping Cart will also work with gochargeit.com (a real-time credit card processor and secure server.) http://www.gochargeit.com. Set Secure Server Variables #1,2,6,7,8,11 and 12.
- Put this URL in Secure Server Variable #1 that gochargeit.com supplies you with. It will be something like:
https://www.gochargeit.com/merchant/YourName/chargelink.htm?dansie
- Put your Merchant ID with gochargeit.com in Secure Server Variable #2.
- For testing, set SSV#1 to:
https://www.gochargeit.com/dansiecart/test/chargelink.htm?dansie
Verisign (Formerly signio.com)
The Dansie Shopping Cart will also work with Verisign (Formerly signio.com) (a real-time credit card processor and secure server.) http://www.signio.com. It works with their Payflow Link service and also with their Telecheck check draft service. Set Secure Server Variables #1,2,6,7,8,9,12 and 13. Follow these steps:
- Set Secure Server Variable #1 with:
https://payflowlink.verisign.com/payflowlink.cfm
Old Signio accounts would use:
https://payflowlink.signio.com/paylinks.dll
- Put your Verisign login ID in Secure Server Variable #2.
- The "PARTNER" ID is required for all new Verisign accounts as of Feb 15th 2001. Set your partner ID in SSV#9 like so:
-->partner=PartnerName
- Be sure to login to your signio.com account and set your Return Link URL.
http://www.YourName.com/cgi-bin/cart.pl?SECURITYID
The SECURITYID is what you define in variable SSV#6 below.
- If you are using the Dansie Shopping Cart Mall Version, set your Return Link URL like so:
http://www.YourName.com/cgi-bin/cart.pl?SECURITYID|merchant|MerchantName
Change SECURITYID to what you have in SSV#6 and "MerchantName" to what the merchant's name is.- Set the "Return URL Method" in your Signio account to LINK instead of POST.
- For testing, set SSV#2 to:
PAYFLOWDEMO
Use test card 5105105105105100- If you wish to use signio's electronic check processing, simply set PV#42 with "telecheck".
- Special feature: If you would like transactions to be "authorization only" then set SSV#9 with "A" (without the quotes). Example:
-->partner=PartnerName,A
CubeCard
The Dansie Shopping Cart will also work with CubeCard (a real-time prepaid card processor and secure server.) http://www.CubeCard.com. Set Secure Server Variables #1,2,6,7,8,12 and 13.
- Put this URL in Secure Server Variable #1:
https://secure.hurstlinks.net/~cubecard/checkout.php
- Put your login ID with CubeCard in Secure Server Variable #2.
- If you already have your cart working with a real-time credit card processor, you could run the CubeCard payment option from Personal Variable #71.
WorldPay
The Dansie Shopping Cart will also work with WorldPay's "Junior" service (a real-time credit card processor and secure server.) http://www.WorldPay.com. Set Secure Server Variables #1,2,6,7,8,12 and 13.
- Put this URL in Secure Server Variable #1:
https://select.worldpay.com/wcc/purchase
- Put your account username with WorldPay in Secure Server Variable #2.
- Put your currency name in SSV#9 like so:
-->USD
or:
-->GBP
or:
-->AUD
SSV#9 will not be use for card types in this situation, but just a way to pass the currency type to WorldPay.
You may also put your account into test mode by merely inserting "testMode" into SSV#9 like so:
-->GBP,testMode
Setting your Return URL with WorldPay Junior:
- Put a META refresh tag in your resultY.html or thanks.html page like you see below and upload to CMS on the WorldPay website:
<META HTTP-EQUIV=REFRESH CONTENT=0;URL=http://www.YourName.com/cgi-bin/cart.pl?SSV#6>- Replace SSV#6 above with the random sequence of characters that you put in Secure Server Variable #6 in your vars.dat file.
- Put a META refresh tag in your sorry.html page like you see below and upload to CMS on the WorldPay website:
<META HTTP-EQUIV=REFRESH CONTENT=0;URL=http://www.YourName.com/cgi-bin/cart.pl?failure>
Bank of America eStores
The Dansie Shopping Cart will also work with Bank of America eStores (a real-time credit card processor and secure server.) http://www.bankofamerica.com. Set Secure Server Variables #1,2,6,7,8,12 and 13.
- Put this URL in Secure Server Variable #1:
https://cart.bamart.com/payment.mart- Put your User ID in Secure Server Variable #2. (A test login ID is: demo_settle_up_branded )
eWAY
The Dansie Shopping Cart will also work with eWAY (a real-time credit card processor and secure server.) http://www.eway.com.au. Set Secure Server Variables #1,2,6,7,8,12 and 13.
- Put this URL in Secure Server Variable #1:
https://www.eway.com.au/gateway/payment.asp- Put your login ID in Secure Server Variable #2.
PayPal
The Dansie Shopping Cart will also work with PayPal's "Web Accept" service when you have a Premier or Business account. http://www.paypal.com. Set Secure Server Variables #1,2,6,7,8,12 and 13. Please note that your customers may have more than one item in their basket. The cart will send the whole package with the grand total to PayPal. The Customer/Shopper ID number will appear on the PayPal website as the "item". This will appear in your PayPal receipts:
Item/Product Name: 17594
Just match that number with the Customer/Shopper ID number in the email receipt that the cart.pl script sends you. It's recommended that you put your email address in SSV#13.
- Put this URL in Secure Server Variable #1:
https://www.paypal.com/xclick/- Put your PayPal ID in Secure Server Variable #2. Your PayPal ID is your email address that you use to login to your PayPal account.
- If you already have your cart working with a real-time credit card processor, you could run the PayPal payment option from Personal Variable #71.
- Also, make sure you insert something like this in #158 of your lang.dat file:
158 -->Various items in shopping cart with shopper ID number:- If you are using the security feature of PV#66 then, in addition to having your own domain in there, make sure you add "www.paypal.com". Example:
66 -->YourDomain.com,www.paypal.com
PSiGate
The Dansie Shopping Cart will also work with PSiGate (a real-time credit card processor and secure server.) http://www.psigate.com. Set Secure Server Variables #1,2,6,7,8,12 and 13.
- Put this URL in Secure Server Variable #1:
https://order.psigate.com/psigate.asp- Put your PSiGate user ID in Secure Server Variable #2.
- A test user ID is "teststore" and a test credit card number is: 4111111111111111. Be sure to enter a valid state and zip code when testing.
SecurePay
The Dansie Shopping Cart will also work with SecurePay (a real-time debit card processor and secure server.) Set Secure Server Variables #1,2,6,7,8,9,12 and 13. Note: SecurePay has a shopping cart guide on their website which inaccurately represents the Dansie Shopping Cart software's capabilities. We have contacted Tony Reynolds of SecurePay on more than one occasion about this error, but he has failed to correct their website to correctly represent the Dansie Shopping Cart's features.
- Put this URL in Secure Server Variable #1:
https://www.securepay.com/dansie/process.cfm- Put your SecurePay.com merchant ID in Secure Server Variable #2.
- A test merchant ID to use is 99999.
- Use these numbers for testing: 4111111111111111 or 5419840000000003
PayReady.net
The Dansie Shopping Cart will also work with PayReady.net (a real-time credit card processor and secure server.) http://www.PayReady.net. Set Secure Server Variables #1,2,6,7,8,12 and 13.
- Put this URL in Secure Server Variable #1:
https://www.payready.net/DMTransaction.asp- Put your PayReady login ID in Secure Server Variable #2.
- A test URL, login ID and credit card number are:
https://www.payready.net/Test/DMTransaction.asp
999999999911
4012000010000
arvicsecure.com
The Dansie Shopping Cart will also work with arvicsecure.com (a real-time credit card processor and secure server.) http://www.arvicsecure.com. Set Secure Server Variables #1,2,6,7,8,12 and 13.
- Put this URL in Secure Server Variable #1:
https://www.arvic.com/trexlive/TRLGet.asp (English)
https://www.arvic.com/trexlive/TRLGet_F.asp (French)
For testing, set it to:
http://www.arvic.com/trextest/TSTGet.asp- Put your Arvic login ID in Secure Server Variable #2.
A test ID is: 1
- You can define ASC_term, ASC_Subject and ASC_ttype by placing them in SSV#9 like so:
-->ASC_term=99999999,ASC_Subject=Acme Company,ASC_ttype=Sale
NetBanx.com
The Dansie Shopping Cart will also work with NetBanx.com (a real-time credit card processor and secure server.) http://www.NetBanx.com. Set Secure Server Variables #1,2,6,7,8,9,12 and 13.
- Put this URL in Secure Server Variable #1:
https://www.netbanx.com/cgi-bin/payment/NETBANXID
Replace "NETBANXID" in the URL with your NetBanx ID.
For testing, set it to:
https://www.netbanx.com/cgi-bin/payment/dansietest- You can leave SSV#2 blank.
- Set SSV#9 with your currency code like so:
-->USD- A test credit card number is: 4921123412341230
Collecting Credit Card Numbers Without a Real-Time Processor.
Already have a merchant account but don't wish to utilize a real-time credit card processor? The Dansie Shopping Cart can collect your customers credit card numbers for you. You may set all the Secure Server Variables except #2 wont be necessary. We have an SSL CGI script called "ssl.pl" that's available free upon request. It's designed to work specifically with the Dansie Shopping Cart. Visit this page on the web for instructions on how to install it:
http://www.dansie.net/creditcards.html
The ssl.pl script will work with or without a site security certificate. A security certificate allows you to access pages and scripts on your website via "https" (Secure Socket Layer) instead of "http". If you are interested in obtaining a security certificate, contact your host, they will be able to assist you with that.
Test credit card numbers for testing the ssl.pl script:
5419 8400 0000 0003
Visa
Exp. 1/2009
Trouble Shooting:
If the ssl.pl script says POST Method Not Allowed or serves as plain text and doesn't execute...
First make sure that ssl.pl is chmoded 755. Second, try renaming it to ssl.cgi and see if it will execute that way. If it still doesn't execute, contact your host and ask them to set permissions on it so that it will execute.
SPECIAL NOTE ABOUT ssl.pl and email
If your ssl.pl script is on a remote host and you are not receiving your customers credit card numbers via email from the ssl.pl script, then see the "SENDMAIL VARIABLES" section near the top of the ssl.pl script. Your remote host may have a different sendmail path than your local host and you will have to set that in the ssl.pl script.
Currency Exchange Rate Feature:3 Font face -->Times New Roman
If you are having the Dansie Shopping Cart use a currency other than US Dollars, but need to have it translated to US Dollars before sending the customer to the real-time credit card processor, then set this variable like so:
0001|1.25
The first field to the left of the "|" character will be your merchant ID with your real-time processor like normal. The field on the right of the "|" character will be the exchange rate. The total will be multiplied by the number you place here before the customer is sent to your real-time processor.
System Path to "orders.dat"9 ssl.pl accepts these card types -->visa,mastercard,amex,novus,dinersclub,carteblanche,delta,switch,solo,visadebit, barclaysconnect
You can get your system paths like so:
http://www.YourName.com/cgi-bin/cart.pl?path
http://www.YourName.com/cgi-bin/cart.pl?env
https://YourSecureHost.com/cgi-bin/ssl.pl?path
https://YourSecureHost.com/cgi-bin/ssl.pl?env
Make sure PV#55 is set to 0.
Making sure "orders.dat" is writable
If the directories where you want orders.dat appended to are not writable, then you will need to create an empty file manually on your computer ("orders.dat"), upload it to the directory where you want it and chmod it 777 so it will be writable. Otherwise the scripts wont be able to write to your "orders.dat" file and you will be wondering why it's not appending.
Emailing orders and appending
Order details emailed to you. Set Host Variable #6 to the sendmail path on your host. Order details will be emailed to the email address you set in Personal Variable #2. You can set as many email addresses as you wish in PV#2 separated by commas, space characters or both. They will get a Bcc (blind carbon copy) of the order details. Order details appended to a data file on your host. Set Secure Server Variable #8 Customers credit card numbers emailed to you (If using the ssl.pl script). Set Secure Server Variable #11. Set Secure Server Variable #10 also so that the ssl.pl script will work with PGP to encrypt the emails. Customers credit card numbers emailed to you and appended to a data file too. Set both SSV#8 and SSV#11.
If you have SSV#8 and SSV#11 blank, yet you are using the ssl.pl script, the credit card numbers will be emailed to the first email address you have listed in PV#2. The other email addresses listed in PV#2 will get a copy of the order details, but not the email with the credit card number in it.
sales@YourName.net, orders@YourName.netSeparated by either commas, spaces or both.
DATABASE OPTIONS:Back to top.
Your databases may have "pull-down menus" or <SELECT> tags. This is very easy to set up with your flat-file databases. In a field of your database that is designated as one of the additional custom description fields (#13 above), you may create a pull-down menu by using the following syntax:
OPTIONS^Red^Blue^Green
The word "OPTIONS" will signal to the shopping cart that you want a <SELECT> pull-down menu with options. The following sub-fields (red, blue, green) will be the options in the pull-down menu. Make sure that OPTIONS is capitalized and that the separation caracter "^" (which is options separator, #4) is not the same as the main field separation character (#3).
You may change the actual price of the item by using a "$" in the options like so:
OPTIONS^Small $10^Medium $20^Large $30
If you set Personal Variable #36 (currency symbol) to something other than "$", such as "L", then be sure to use that symbol insead. Example:
OPTIONS^Small L10^Medium L20^Large L30
You may add to the current price by placing plus signs before your currency symbol like so:
OPTIONS^Red +$3^Blue +$5^Green +$10
Here is a more detailed example of an entire line (item) of a database file:
Shirts|1001|Men's T-Shirt|100% Cotton|10|.5|shirt.gif|OPTIONS^Small $10^Medium $20^Large $30|OPTIONS^Red +$3^Blue +$5^Green +$10
Key:
category|stock#|ItemName|description|price|shipping(lbs)|image|pull-down menus|pull-down menus
Do you want your <SELECT> menus larger than one line? (In other words <SELECT SIZE=3>) This is how you do it:
OPTIONS3^Red^Blue^Green
Any number immediately following "OPTIONS" will set the SIZE of the SELECT pull-down menu.
Want your databases to display checkboxes?
CHECKBOX^With tote bag +$5.00|CHECKBOX^Bag of tees +$2.00
Use + signs with checkboxes if you want to add to the current price.
Want to use text boxes in your databases so your customers can give you some input?
TEXT^Name to be embroidered on shirt^10-20
The first field is your statement to be printed on the page of the database display. The next field sets the SIZE and MAXLENGTH attributes of the text box.
Want to use TEXTAREA boxes in your databases so your customers can give you some more input?
TEXTAREA^Name, address, city, state and zip:^30-4
The first field is your statement to be printed on the page of the database display. The next field sets the COLS and ROWS attributes of the TEXTAREA box.
Want a QUANTITY text box in your databases so your customers can enter quantity?
QUANTITY^How many days?^3-3-1
The first field tells the cart script to make a TEXT box for quantity. The second field is your statement to be printed on the page of the database display next to this TEXT box. The third field sets the SIZE and MAXLENGTH attributes of the text box and the default quantity.
Miscellaneous Database Tips:
Want to use Volume Discount Pricing with your databases? Put this format in your price fields:
10.00:1:9.00:10:8.00:20
This means, $10 each for 1 (or more), $9 each for 10 (or more) and $8 each for 20 (or more). Always use the ":" character to separate the sub-fields of your volume discount pricing. Make sure your list is in order from smallest quantity (1) to largest quantity. See Template.html section 1C for information on how to use volume discount pricing with standard HTML forms.
You can add keywords to the items in your databases so the search engine can find the item better, without the keywords appearing in the database's product displays. Use HTML comment tags in your fields like so:
|<!-- these are some key words -->|
The search engine will find the keywords and display the products, but the search words wont display on the web page.
If an item in your database is nontaxable, you can put this in one of your custom description fields and the cart wont calculate sales tax on that item.
|#nontaxable#|
Or:
|<!-- #nontaxable# -->|
and it wont show up on the web page.
You can have links appear in your database by inserting some <A HREF> tags in the custom description fields of your database like so:
|<A HREF=http://www.YourName.com/Details.html>Click for details</A>|
Or extra images too:
|<IMG SRC=http://www.YourName.com/Image.gif>|
Pop-up windows can be used to with a little JavaScript too.
Would you like to link your thumbnail images to larger images? Normally, you would tell the cart program where your thumbnail is like so:||||||http://www.dansie.net/images/purse.jpg|||||| Putting the URL to the thumbnail image in the field position defined by Database Variable #12. But, if you want the cart program to automatically link to a larger image that you have made, just add a double colon delimiter "::" followed by the name or full URL of the larger image. Example:||||||http://www.dansie.net/images/purse.jpg::purse_large.jpg|||||| Remember, you only need to put the name of the image as long as the image is located in the directory defined by Host Variable #3.
Referral Tracking
You can now track if your customers arrived at your web store, from your friends website. It works like this: Instead of other website owners linking to your site like this:
http://www.YourName.com
They would link to your site like this:
http://www.YourName.com/cgi-bin/cart.pl?referrer=Buddy&url=http://www.YourName.com
Notice the query string:
?referrer=Buddy&url=http://www.YourName.com
"referrer" would be their identity that you know your partner/referrer by, and the "url" would be where you want the cart to redirect that customer to after they arrive at your site. Most likely, your main page. What this does is it prepares a data file in your "temp" directory with the shopper ID number like so: Buddy - 1000 Where "Buddy" is the referrer's name (you could use numbers too) and 1000 is the customer's actual shopper ID number. So, if you have a customer whose shopper ID number is just "1000", then you know that they came directly to your site from a search engine or so. If their shopper ID number is "Buddy - 1000", then you know that your partner/referrer "Buddy" was responsible for sending business your way. Now you DO NOT need to look in the "temp" directory. Just look at the top of the email receipts next to the shopper ID number. That's where the referral ID will appear.
If you omit the "url=http://www.YourName.com" part of the query string, people will be redirected to the URL you specified in Host Variable #2.
Using the Dansie Shopping Cart Mall Version? Have people link to your site like this:
http://www.YourName.com/cgi-bin/cart.pl?referrer=Buddy&url=http://www.YourName.com&merchant=fred
Or:
http://www.YourName.com/cgi-bin/cart.pl?referrer=Buddy&merchant=fred
(Without the "url=http://www.YourName.com")
The URL you use here must match exactly what you have in Host Variable #1.
Sell Passwords
The Dansie Shopping Cart can automatically email your customer unique, random passwords or other sensitive information after "Secure Online Credit Card Transactions" and "Online Check Drafts" depending upon designated items they purchase with the cart. The sensitive information can be emailed to your customer automatically after their credit card is approved.When a customer purchases an item via "Secure Online Credit Card Transaction", if one of the custom descriptive fields contains any phrase found in the left field of the "passwords.dat" file, the cart will email them the special instructions of the corresponding right field(s) of the passwords.dat file. Example:
- Create a file named "passwords.dat" with Notepad or SimpleText.
- Put information in the file like so:
Super Software Download|/usr/local/etc/httpd/htdocs/special/.htpasswd|Download now here: "http://www.YourName.com/special/"|The password is: #random_password# Members Calendar of Events|/usr/local/etc/httpd/htdocs/calendar/.htpasswd|Download now here: "http://www.YourName.com/calendar/"|The password is: #random_password#- The file must be named "passwords.dat".
- The passwords.dat file must be uploaded to the same directory as your vars.dat file.
- Notice that each example above has fields on each line separated by the "|" character.
- Only one line break per item. (On the end of the line.)
- Make sure that the left fields in your passwords.dat file matches exactly what you have in one of the custom description tags of your HTML form. It is case sensitive. Example:
<INPUT TYPE=HIDDEN NAME="custom3" VALUE="Super Software Download">- If you want your customers email addresses and their random passwords appended to a .htpasswd file then put the exact accurate system path to that .htpasswd file in the second field. Note: .htpasswd files only work in Unix hosted websites. Not on Windows NT hosts.
- You can put any text in the additional fields after the first "|" pipe delimiter as you desire. If you insert the marker #random_password# the cart will generate an 8 digit alpha-numeric random password for the customer and insert it in the customers email receipt. Place pipe delimiters where you want to indicate line breaks in the email receipts.
- If you set a system path to your .htpasswd file in the second field then the cart will automatically append your customers billing email address and crypted password to your .htpasswd file allowing them immediate access to the directory you choose.
- Mall Version note: For security reasons, your hosted merchants will not be allowed to have their passwords.dat file tell the cart.pl script to write to any .htpasswd files. So this feature is disabled. However, if you are the only one that has access to their vars.dat and passwords.dat files, etc, let us know and we can disable the merchant security feature for you and this feature would then work with the Mall Version.
<INPUT TYPE=HIDDEN NAME="custom3" VALUE="Super Software Download">
If you had the above tag in one of your product forms, and your customer purchased the item via "Secure Online Credit Card Transaction" or "Online Check Draft" they would receive the special info found in the passwords.dat file. You may put as many lines in your passwords.dat file as you wish. If you are sending URLs it is recommended to leave PV#72 blank when using the Sell Passwords feature so as to avoid problems with the way the email receipts are formatted.
If you are using multi-item forms with the Sell Passwords feature, be sure to set the phrase that triggers the passwords.dat file in fields 5, 6 or 7. Example:
<INPUT TYPE=CHECKBOX NAME="multi-item1" VALUE="A Software Program|9.95|1|software.jpg|Super Software Download">
Then in your passwords.dat file you would put:
Super Software Download|Download now here: "http://www.YourName.com/special/" The password is: #random_password#
A .htpasswd toolkit can be found here:
http://www.dansie.net/htpasswd_toolkit.zip
Limited Quantity Inventory
The Dansie Shopping Cart can keep track of the remaining items in stock that you have limited quantities of. Like rare sports cards and antiques. It will decrement a data file like you see below every time someone orders an item with that name.Mens Tie|10 Gift Basket|20 SuperWuper Widget|1Notice that it has two fields on each line separated by the "|" character. When a customer purchases an item that matches the name in the field on the left, the cart will decrement the number in it's corresponding field on the right. When that item hits zero, and another customer tries to put that item in the cart, the cart will give the customer a message that this item is out of stock. You may put as many items and quantities in your "limited.dat" file as you wish. To utilize this feature, just create a data file called "limited.dat", put it in the same directory that your vars.dat file is in and chmod it 777 so it's writable. Remember, you must put the name of the item in the field on the left. Not the stock number. Also, it is case sensitive.
Note: If a customer selects any payment method such as "Credit Card Transaction via Telephone" or "Check or Money Order" the cart will decrement limited quantity items even if the customer doesn't call to submit their credit card number or send you their check. Also, if two visitors to your site put the last of an item into their cart at the same time, there is the possibility that both orders will go through without one of them getting the "item is out of stock" message. But over all, it will prevent mass numbers of orders for items that are out of stock.
Affiliate Programs:
The Dansie Shopping Cart can work with affiliate programs such as www.commission-junction.com, www.clicktrade.com, www.affiliatetracking.net and others that use IMG tag calls.Order Tracking
- Put an IMG tag in Personal Variable #6 in your vars.dat file like so:
<IMG SRC="https://www.affiliate.com/cgi-bin/log.pl?
AMOUNT=#subtotal#&OID=#orderid#&NAME=#name#&EMAIL=#email#&ORDERTYPE=#ordertype#">- Replace "https://www.affiliate.com/cgi-bin/log.pl" with the URL to your affiliate script.
- The cart will automatically replace #subtotal#, #orderid#, #name#, #email# and #ordertype# with the real subtotal, customer/shopper ID, customer's name, customer's email address and the purchase method they chose. You need not use all these, just the ones your affiliate needs.
- Replace AMOUNT, OID, NAME, EMAIL and ORDERTYPE with the variable names that your affiliate uses.
- After an order is placed, the Dansie Shopping Cart will display the guarantee statement in Personal Variable #6 on the receipt page which will call the affiliate script.
See PV#69.
<INPUT TYPE=HIDDEN NAME=merchant VALUE="MerchantNameHere">And link to databases like so:
http://www.YourName.com/cgi-bin/cart.pl?db=stuff.dat&Category=Books&merchant=MerchantNameHere Instead of: http://www.YourName.com/cgi-bin/cart.pl?db=stuff.dat&Category=BooksNote: You will have a default vars.dat file located next to your cart.pl script in your cgi-bin. If the NAME=merchant tag isn't used in a form, the default vars.dat file will be accessed.
The Dansie Shopping Cart Mall Version has a built-in web based upload utility feature that allows merchants to upload their vars.dat and lang.dat files 24 hours a day without bugging you. To access your Mall Merchant Upload Control Panel, just point your browser at your cart.pl script with the "login" query string like so:Mall Version Security Features and Diagnostics
http://www.YourName.com/cgi-bin/cart.pl?login
If you have a site security certificate, your hosted merchants can upload and download information securely too. Just set Host Variable #14 with the "https" URL to the cart.pl script.
In order to allow your merchants web based upload access to their directory, you will need to place a file in your cgi-bin called "merchant_passwords.dat". This plain text file will look like this:200000 moe|123abc larry|dkWE3d|400000 curly|hhh555|50000Use the "|" pipe delimiter to separate the fields. The first line will set the default directory size limit that you will allow to each merchant to have. Only one field goes on this line. The rest of the lines may have either two or three fields. The first field in each line is the merchants name. This must match the name of the merchants directory exactly. The second field is the merchants password. The third field is optional. It allows you to adjust the directory size limit for that merchant. In this example, Moe's third field is not defined, so he gets the default value that is in the first line of the "merchant_passwords.dat" file. Larry's third field has 400000 in it so he gets twice the default size limit to host his files with. Curly's third field is defined as well, but it says 50000. He will only have one-fourth the default allotted space.