Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > 0afeee9cca140e167a996902b9a677c5 > files > 3051

php-manual-en-4.3.0-2mdk.noarch.rpm

<HTML
><HEAD
><TITLE
>CCVS API Functions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="PHP Manual"
HREF="index.html"><LINK
REL="UP"
TITLE="Function Reference"
HREF="funcref.html"><LINK
REL="PREVIOUS"
TITLE="unixtojd"
HREF="function.unixtojd.html"><LINK
REL="NEXT"
TITLE="ccvs_add"
HREF="function.ccvs-add.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-1"></HEAD
><BODY
CLASS="reference"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.unixtojd.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.ccvs-add.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="reference"
><A
NAME="ref.ccvs"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
>VII. CCVS API Functions</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN10609"
></A
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="ccvs.intro"
></A
>Introduction</H1
><P
>&#13;     These functions interface the CCVS API, allowing you to work
     directly with CCVS from your PHP scripts.  CCVS is <A
HREF="http://www.redhat.com/"
TARGET="_top"
>RedHat's</A
> solution to the "middle-man"
     in credit card processing.  It lets you directly address the
     credit card clearing houses via your *nix box and a modem.  Using
     the CCVS module for PHP, you can process credit cards directly
     through CCVS via your PHP Scripts.  The following references will
     outline the process.
    </P
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Note: </B
>
      CCVS has been discontinued by Red Hat and there are no plans
      to issue further keys or support contracts. Those looking for a 
      replacement can consider 
      <A
HREF="http://www.mcve.com/"
TARGET="_top"
>MCVE by Main Street Softworks</A
>
      as a potential replacement. It is similar in design and has documented
      PHP support!
     </P
></BLOCKQUOTE
></DIV
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="ccvs.installation"
></A
>Installation</H1
><P
>&#13;     To enable CCVS Support in PHP, first verify your CCVS installation
     directory.  You will then need to configure PHP with the <TT
CLASS="option"
>--with-ccvs</TT
> option. If you use this
     option without specifying the path to your CCVS installation, PHP
     will attempt to look in the default CCVS Install location
     (/usr/local/ccvs). If CCVS is in a non-standard location, run
     configure with: <TT
CLASS="option"
>--with-ccvs=$ccvs_path</TT
>, where $ccvs_path
     is the path to your CCVS installation.  Please note that CCVS
     support requires that $ccvs_path/lib and $ccvs_path/include exist,
     and include cv_api.h under the include directory and libccvs.a
     under the lib directory.
    </P
><P
>&#13;     Additionally, a ccvsd process will need to be running for the
     configurations you intend to use in your PHP scripts. You will
     also need to make sure the PHP Processes are running under the
     same user as your CCVS was installed as (e.g. if you installed
     CCVS as user 'ccvs', your PHP processes must run as 'ccvs' as
     well.)
    </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="ccvs.seealso"
></A
>See Also</H1
><P
>&#13;     Additional information about CCVS can be found at <A
HREF="http://www.redhat.com/products/ccvs"
TARGET="_top"
>http://www.redhat.com/products/ccvs</A
>. RedHat
     maintains slightly outdated but still useful documentation at
     <A
HREF="http://www.redhat.com/products/ccvs/support/CCVS3.3docs/ProgPHP.html"
TARGET="_top"
>http://www.redhat.com/products/ccvs/support/CCVS3.3docs/ProgPHP.html</A
>.
    </P
></DIV
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
><A
HREF="function.ccvs-add.html"
>ccvs_add</A
>&nbsp;--&nbsp;Add data to a transaction </DT
><DT
><A
HREF="function.ccvs-auth.html"
>ccvs_auth</A
>&nbsp;--&nbsp; 
     Perform credit authorization test on a transaction 
    </DT
><DT
><A
HREF="function.ccvs-command.html"
>ccvs_command</A
>&nbsp;--&nbsp;
     Performs a command which is peculiar to a single protocol, 
     and thus is not available in the general CCVS API 
    </DT
><DT
><A
HREF="function.ccvs-count.html"
>ccvs_count</A
>&nbsp;--&nbsp;
     Find out how many transactions of a given type are stored in the system 
    </DT
><DT
><A
HREF="function.ccvs-delete.html"
>ccvs_delete</A
>&nbsp;--&nbsp;Delete a transaction</DT
><DT
><A
HREF="function.ccvs-done.html"
>ccvs_done</A
>&nbsp;--&nbsp;Terminate CCVS engine and do cleanup work</DT
><DT
><A
HREF="function.ccvs-init.html"
>ccvs_init</A
>&nbsp;--&nbsp;Initialize CCVS for use</DT
><DT
><A
HREF="function.ccvs-lookup.html"
>ccvs_lookup</A
>&nbsp;--&nbsp;
     Look up an item of a particular type in the database #
    </DT
><DT
><A
HREF="function.ccvs-new.html"
>ccvs_new</A
>&nbsp;--&nbsp;Create a new, blank transaction </DT
><DT
><A
HREF="function.ccvs-report.html"
>ccvs_report</A
>&nbsp;--&nbsp;Return the status of the background communication process </DT
><DT
><A
HREF="function.ccvs-return.html"
>ccvs_return</A
>&nbsp;--&nbsp;
     Transfer funds from the merchant to the credit card holder 
    </DT
><DT
><A
HREF="function.ccvs-reverse.html"
>ccvs_reverse</A
>&nbsp;--&nbsp;
     Perform a full reversal on an already-processed authorization 
    </DT
><DT
><A
HREF="function.ccvs-sale.html"
>ccvs_sale</A
>&nbsp;--&nbsp;
     Transfer funds from the credit card holder to the merchant
    </DT
><DT
><A
HREF="function.ccvs-status.html"
>ccvs_status</A
>&nbsp;--&nbsp;Check the status of an invoice</DT
><DT
><A
HREF="function.ccvs-textvalue.html"
>ccvs_textvalue</A
>&nbsp;--&nbsp;Get text return value for previous function call</DT
><DT
><A
HREF="function.ccvs-void.html"
>ccvs_void</A
>&nbsp;--&nbsp;
     Perform a full reversal on a completed transaction 
    </DT
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.unixtojd.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.ccvs-add.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>unixtojd</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>ccvs_add</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>