PHP: CCVS API Functions - Manual
PHP  
downloads | documentation | faq | getting help | mailing lists | | php.net sites | links | my php.net 
search for in the  
<unixtojdccvs_add>
view the version of this page
Last updated: Thu, 15 Jul 2004

VII. CCVS API Functions

�vod

Tyto funkce p�edstavuj� interface k CCVS API, a umo�nuj� tak p��mo pracovat s CCVS z va�ich PHP skript�. CCVS je �e�en� "zprost�edkovatele" ve zpracov�n� kreditn�ch karet. Umo�%nuje v�m oslovovat p��mo zpracovatele kreditn�ch karet p�es v� *nix syst�m a modem. Pomoc� CCVS modulu pro PHP m��ete zpracov�vat kreditn� karty p�es CCVS ve va�ich PHP skriptech. N�sleduj�c� reference tento proces p�ibl��.

Pozn�mka: CCVS bylo firmou RedHat pozastaveno a nem� v pl�nu vyd�vat dal�� kl��e nebo podporovat kontrakty. Pokud hled�te n�hradu, zva�te jako mo�nou n�hradu. M� podobn� design a dokumentovanou podporu PHP!

Toto roz���en� bylo z PHP odstran�no a od verze 4.3.0 nen� k dispozici. Pokud chcete pou��vat funkce pro zpracov�n� kreditn�ch karet, m��ete m�sto toho pou��t roz���en� MCVE.

Instalace

Pokud chcete zapnout CCVS podporu v PHP, zjist�te si nejd��ve instala�n� adres�� CCVS. Potom budete muset PHP zkonfigurovat s --with-ccvs. Pokud toto pou�ijete be ud�n� cesty k va�� instalaci CCVS, PHP se pokus� pod�vat do defaultn� instala�n� lokace CCVS (/usr/local/ccvs). Pokud je CCVS na nestandardn�m m�st�, spust�te configure s: --with-ccvs=$ccvs_path, kde $ccvs_path je cesta k va�� instalaci CVS. Pozn.: Podpora CCVS vy�aduje existenci $ccvs_path/lib a $ccvs_path/include, a p��tomnost cv_api.h v adres��i include a libccvs.a v adres��i lib.

D�le je pot�eba, aby b�el proces ccvsd. Nav�c, PHP processy mus� b�et pod stejn�m u�ivatelem, pod kter�m b�h� CCVS (nap�. pokud jste instalovali ccvs jako 'ccvs', va�e PHP procesy mus� tak� b�et jako 'ccvs').

Viz tak�

RedHat p�eru�il podporu CCVS, p�esto je m�rn� zastaral� dokumentace k dispozici na .

Obsah
ccvs_add -- Add data to a transaction
ccvs_auth --  Perform credit authorization test on a transaction
ccvs_command --  Performs a command which is peculiar to a single protocol, and thus is not available in the general CCVS API
ccvs_count --  Find out how many transactions of a given type are stored in the system
ccvs_delete -- Delete a transaction
ccvs_done -- Terminate CCVS engine and do cleanup work
ccvs_init -- Initialize CCVS for use
ccvs_lookup --  Look up an item of a particular type in the database #
ccvs_new -- Create a new, blank transaction
ccvs_report -- Return the status of the background communication process
ccvs_return --  Transfer funds from the merchant to the credit card holder
ccvs_reverse --  Perform a full reversal on an already-processed authorization
ccvs_sale --  Transfer funds from the credit card holder to the merchant
ccvs_status -- Check the status of an invoice
ccvs_textvalue -- Get text return value for previous function call
ccvs_void --  Perform a full reversal on a completed transaction


add a note add a note User Contributed Notes
CCVS API Functions
There are no user contributed notes for this page.

<unixtojdccvs_add>
 Last updated: Thu, 15 Jul 2004
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2004 The PHP Group
All rights reserved.
This unofficial mirror is operated at: /
Last updated: Sun Nov 14 23:09:54 2004 Local time zone must be set--see zic manual page