Dansie Shopping Cart©
Dansie Shopping Cart
New Real-Time Credit Card Processors:

If you would like the Dansie Shopping Cart to work with a real-time credit card processor that isn't currently listed, then fill out this form below. A "processor.dat" configuration file will be created. Put it in the same directory as your vars.dat file and then run a test order. If you entered the correct variable names, there's a good chance it will work. This feature works with cart.pl version 2.88+. If it doesn't work, email us the test_form.html and processor.dat files and we will take a look. Processor compatibility with the Dansie Shopping Cart will be considered in the next upgrade.



Four requirements for a new processor to work with the Dansie Shopping Cart:

The Dansie Shopping Cart will calculate the full total, collect the shoppers shipping and billing address, and then pass the full total, billing address and a couple other things to the processor automatically via the POST method.
  1. This is the info we need from the new processor:
    • The URL to the script on the credit card processor's secure server that accepts POSTs from shopping cart programs.
    • A test account or login ID that we can use to run test transactions with.
    • The variable names that they use.
  2. The processor MUST accept information via the POST method. Here is a very basic example:

    <FORM METHOD=POST ACTION="https://www.NewCreditCardProcessor.com/cgi-bin/process.cgi">
    <INPUT TYPE=HIDDEN NAME="accountID" VALUE="846383">
    <INPUT TYPE=HIDDEN NAME="total" VALUE="20.00">
    <INPUT TYPE=HIDDEN NAME="name" VALUE="John Smith">
    <INPUT TYPE=HIDDEN NAME="email" VALUE="john_smith@domain.com">
    <INPUT TYPE=HIDDEN NAME="invoice" VALUE="101">
    <INPUT TYPE=SUBMIT>
    </FORM>
  3. The processor MUST prompt and collect the shoppers credit card number and expiration date on their secure page.
  4. If the processor approves the shoppers credit card, then they will redirect the shopper back to the "Approved Return URL" that the Dansie Shopping Cart can automatically pass to the processor. If the processor requires that you login and set your Approved Return URL in your account on their website, that will be fine. Let us know and we will show you what your approved URL would be.
As an option, if the card is not approved, then the processor can redirect the shopper back to a "Disapproved Return URL" that the cart can automatically pass to the processor. At this URL, the cart.pl script will provide other payment options for the shopper.



Name of the real-time processor:

Website URL of the real-time processor:

URL to processors secure credit card processing script:

Your Login ID with the processor or a test ID:


Variable Names:
In the following fields, insert the variable names that the processor uses. Do NOT insert a real address, email or URL, etc, but rather the name of the variables that the processor uses for that information. Examples are filled in as a default.
* = Required.
* Transaction Total:

Merchant/Login ID:

Customer ID or Invoice Number:

* Redirect URL Upon Credit Card Approval:

Redirect URL Upon Credit Card Disapproval:

Billing Name:

Billing Address:

Billing City:

Billing State:

Billing Zip:

Billing Country:

Billing Phone:

Billing Email:

Merchant Name:

Merchant Email:


Additional Custom Variables:
Enter the names and values of any additional custom variables, flags, or other info thats required by the processor, and not listed above. This makes the Dansie Shopping Cart very flexible and capable of easily adapting to almost any processor.
Name: Value:
Name: Value:
Name: Value:
Name: Value:
Name: Value:

  • A test_form.html file will allow you to test if your variable names above are correct and if they will work with the processor.
  • A processor.dat file can be used to make the cart.pl script work with the real-time processor after you have tested and confirmed that the variable names are correct.
    Or:    

Anatomy of the processor.dat file:

Additional info for technically inclined people who view their processor.dat file in a plain text editor.
  • Variables #1 and #2 in the processor.dat file are just memo information. The cart.pl script will ignore them.
  • Variable #3 is very important. It needs to be the correct URL to the credit card processor's script. The cart.pl script will POST to this URL.
  • Variable #4 needs to be your actual login ID or account ID with the processor.
  • Variables #5 through #19 are variable names. Not values, but the variable names that the processor uses.
  • Variables #20 up to #34 are custom variables where you can define extra variable names and values that you want the cart.pl script to POST to the processor. Examples:
    20 Custom1 -->variable name|value
    21 Custom2 -->SomeKey|83jd83jkr9kf9
  • If your processor uses two first and last name fields rather than just one name field to carry both, then use the #split_name# flag like so:
    20 Custom1 -->first_name|#split_name#
    21 Custom2 -->last_name|#split_name#
    Put the variable name they use on the left and then put #split_name# on the right. It will tell the cart program to split the shoppers name in two.