|
||||||||||||
|
|
VII. Funciones del API de CCVSIntroducciónEstas funciones interaccionan con el API de CCVS, permitiendo trabajar con CCVS directamente desde un script PHP. CCVS es la solución de RedHat para el intermediario en el procesamiento de tarjetas de crédito. Permite conectar directamente con las centrales de las tarjetas desde una máquina *nix con un módem. Usando el módulo para PHP de CCVS, se pueden procesar tarjetas de crédito directamente desde vuestros scripts en PHP.
InstalaciónTo enable CCVS Support in PHP, first verify your CCVS installation directory. You will then need to configure PHP with the --with-ccvs 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: --with-ccvs=[DIR], where DIR is the path to your CCVS installation. Please note that CCVS support requires that DIR/lib and DIR/include exist, and include cv_api.h under the include directory and libccvs.a under the lib directory. 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.) Ver tambiénRedHat ha dejado de soportar CCVS; De todas maneras un manual un poco anticuado está todavía disponible en http://redhat.com/docs/manuals/ccvs/.
| |||||||||||
|
||||||||||||