home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / mccd2-1.zip / mccd2.doc < prev    next >
Text File  |  1995-02-16  |  8KB  |  204 lines

  1.  
  2.                      Max Credit Card Door/2 Version 1.00
  3.  
  4.           Copyright (C) 1995 by Craig Morrison, All Rights Reserved.
  5.  
  6.  
  7. What is MCCD2?
  8. --------------
  9.  
  10. MCCD2 is a credit card processing door for BBS systems running Maximus(**)
  11. version 2.xx under OS/2 2.x and higher. Through the use of a simple text file
  12. you can allow your callers to use their credit cards to make purchases through
  13. your BBS.
  14.  
  15. MCCD2 was written specifically to handle BBS subscriptions using the Expiration
  16. features built-in to Maximus. You can define exactly what type of subscription
  17. a user can purchase and MCCD2 will write the necessary information to the
  18. online user record to tell Maximus to begin their subscription period.
  19.  
  20. MCCD2 provides complete logging of all actions by the user while they are in
  21. the door. MCCD2 writes out all purchases to a comma delimited text file to make
  22. it easy to import purchase information into any database package.
  23.  
  24. MCCD2 supports both ANSI and TTY callers. ANSI callers will be displayed neatly
  25. formatted menus and input boxes in color. TTY callers, well, they get the best
  26. one can do to make the purchasing system look nice. :-) The intro and exit
  27. screens are simple text files that can be customized to suit your BBS.
  28.  
  29.  
  30. How much is MCCD2?
  31. ------------------
  32.  
  33. To non-commercial users MCCD2 is _absolutely_ free. If you don't make a profit
  34. from your BBS you are considered a non-commercial user. This is a bit tricky to
  35. define, if there are any doubts see the contact information included at the end
  36. of this file. Drop me a note and we can discuss it. I'm very flexible when it
  37. comes to working out some sort of agreement.
  38.  
  39. Commercial users are required to pay a licensing fee. For that licensing fee
  40. the Borland C source code is provided, if desired. Toll call telephone support
  41. is provided as part of the licensing fee.
  42.  
  43. Developers may purchase the source code for their own private use by paying the
  44. commercial licensing fee.
  45.  
  46. See the included REGISTER.FRM for more information about licensing MCCD2.
  47.  
  48.  
  49. Legalese
  50. --------
  51.  
  52. MAX CREDIT CARD DOOR/2 IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. YOU
  53. ASSUME ALL LIABILITY FOR ANY DAMAGES OR ALLEDGED DAMAGES ARISING FROM OR
  54. ALLEDGEDLY ARISING FROM THE USE OF THIS PROGRAM. CRAIG MORRISON, THE AUTHOR,
  55. HAS TO THE BEST OF HIS ABILITY TAKEN ALL PRECAUTIONS TO PROVIDE FOR SAFE AND
  56. RELIABLE OPERATION OF THE PROGRAM.
  57.  
  58. It goes without saying, as with all other software; timely and reliable backups
  59. should be performed to insure minimal data loss if something does go wrong.
  60.  
  61.  
  62. How to Use MCCD2
  63. ----------------
  64.  
  65.    MCCD2 <port_handle> <LASTUSxx.BBS> <cfg_file> <log_file> <minutes_on>
  66.  
  67. You must use the `ReRead' menu option modifier when calling MCCD2 from a menu
  68. item or the `@' modifier inside a MECCA script. This is NECESSARY so that
  69. Maximus will reread and record the user modifications made by MCCD2. Please
  70. read the sections in the Maximus documentation on running external programs.
  71.  
  72.     port_handle     Hot comm port _FILE_HANDLE_ from Maximus. (%P)
  73.                     Use 0 for local mode operation.
  74.  
  75.     LASTUSxx.BBS    Path and filename of the LASTUSxx.BBS file
  76.                     for the node you are running MCCD2 for. For
  77.                     single node systems with a task number of 0
  78.                     this will be LASTUSER.BBS, multi-node systems
  79.                     this will be LASTUSxx.BBS where `xx' is the
  80.                     node number in hexadecimal format. I.E, Node 1
  81.                     would be 01.
  82.  
  83.     <cfg_file>      The path and filename of a configuration file
  84.                     for MCCD2. The format for this file is discussed
  85.                     later.
  86.  
  87.     <log_file>      Path and filename of a file for MCCD2 to log the
  88.                     actions that it performs to. This MUST be a unique
  89.                     name for each instance of MCCD2.
  90.  
  91.     <minutes_on>    How long the user has been this call. (%j)
  92.  
  93. CFG file format:
  94.  
  95.    Line 1:      MUST be the number of item lines, 12 items max.
  96.    Line 2-n:    One line each up to the number listed on line 2.
  97.                 Following the format below.
  98.  
  99. IT IS *YOUR* RESPONSIBILITY TO MAKE SURE THE FORMAT OF THIS FILE IS CORRECT!
  100.  
  101. Item line format:
  102.  
  103.  cost, shown_cost, desc, time, priv, keys, x_type, days/mins, x_action, x_priv
  104.  
  105.    Lines should be limited to 255 characters or less.
  106.  
  107.    ALL FIELDS MUST BE PRESENT!
  108.  
  109.    Commas `,' are no-no's! They can only be used to separate the fields.
  110.  
  111.    If all you are doing is selling products or services that aren't
  112.    related to BBS subscriptions; fill in the cost, shown_cost and desc
  113.    fields with the appropriate information and use 0 for the rest of them.
  114.  
  115.    A 0 entry in the priv field means that the users priviledge level will
  116.    not be altered. Only the first letter of the priviledge level is needed,
  117.    although you can spell out the entire priviledge level name for clarity.
  118.  
  119.    A 0 entry in the keys field means no keys will be added.
  120.  
  121.    A 0 in the x_type field turns off expiry modifications. If you specify
  122.    an x_type you MUST provide the information for that type of expiration
  123.    on the user record. I.E, x_type of M; You must fill in days/mins with
  124.    the number of minutes to expiry, you must also specify x_action. If
  125.    x_action is A, x_priv is ignored, otherwise you must enter a priviledge
  126.    level for demotion.
  127.  
  128.   Examples:
  129.  
  130.    2500,  $25.00,  MaxFile/PM Registration, 0,   0,   0,   0,  0,    0,  0
  131.    1000,  $10.00,  4 Hour Subscription,     30,  E,   R,   M,  480,  A,  0
  132.    3000,  $30.00,  1 Year Subscription,     45,  E,   R,   D,  365,  D,  N
  133.  
  134.     cost:           Integer representation of the cost of the item
  135.     shown_cost:     Displayable (formatted) version of the cost field
  136.     desc:           Description of the item for display and logging
  137.     time:           Upgrade time. This is the maximum amount of time that
  138.                     will be added to a users time remaining. IOW, if they
  139.                     have been online for 30 minutes and you have 90 for
  140.                     this field, 60 minutes will get added to their time
  141.                     remaining for the call. 0 disables this modification
  142.     priv:           Priviledge level granted for purchasing this item
  143.     keys:           Keys granted for purchasing this item. Valid keys for
  144.                     Maximus are; 1-8 and A-X, you can enter more than one
  145.                     key in this field, simply string them all together. E.G,
  146.                     1AFR would set the keys 1, A, F and R
  147.     x_type:         Expiry type, M = expires in minutes, D = expires in days
  148.     days/mins:      The number of minutes or days to expiry
  149.     x_action:       Expiry action, A = Axe (hangup and delete) D = demote
  150.     x_priv:         Priviledge level to demote user to after expiry
  151.  
  152.  
  153. Output File Format
  154. ------------------
  155.  
  156. MCCD2 appends each confirmed transaction to a comma delimited ASCII file. Each
  157. line is formatted like the following:
  158.  
  159.   1            2                3          4          5
  160. "1500","4256835942726582","123-456-7890","0796","Craig Morrison", ...
  161.             6             7       8        9        10        11
  162.  ... "1316 Ferry St","Lafayette","IN","47901-1533","USA","02-16-1995"
  163.  
  164. The fields are:
  165.  
  166.     1       Integer cost of the item.
  167.     2       Credit card number.
  168.     3       Phone number.
  169.     4       Card expiration date.
  170.     5       Cardholder name.
  171.     6       Street address.
  172.     7       City.
  173.     8       State or province.
  174.     9       Postal code.
  175.     10      Country
  176.     11      Date of purchase.
  177.  
  178. The above information is written all on one line in the file BBSCHARG.CHG to
  179. the directory that MCCD2 is run from.
  180.  
  181.  
  182. Contact Information
  183. -------------------
  184.  
  185. If you need to get a hold of me, I can be reached at one of the following:
  186.  
  187. Fidonet:        Craig Morrison, 1:201/60.0@fidonet.org
  188.  
  189. Internet:       cam@wpc.cioe.com
  190.  
  191. Snail-mail:     Craig Morrison
  192.                 1316 Ferry St.
  193.                 Lafayette, IN 47901-1533
  194.                 USA
  195.  
  196.  
  197.  
  198. Trademarks
  199. ----------
  200.  
  201. (**) Maximus is a trademark of Lanius Corporation.
  202.  
  203.  
  204.