PHP 忒聊
綴豖
ヶ輛
LV. MCVE Payment Functions
賡庄
These functions interface the MCVE API (libmcve), allowing you to work directly with MCVE from your PHP scripts. MCVE is Main Street Softworks' solution to direct credit card processing. It lets you directly address the credit card clearing houses via your *nix box, modem and/or internet connection (bypassing the need for an additional service such as Authorize.Net or Pay Flow Pro). Using the MCVE module for PHP, you can process credit cards directly through MCVE via your PHP scripts. The following references will outline the process.
蛁: MCVE is the replacement for RedHat's CCVS. They contracted with RedHat in late 2001 to migrate all existing clientelle to the MCVE platform.
蛁: 蜆孺桯耀輸祥巠蚚衾 Windows す怢ㄐ
假蚾
To enable MCVE Support in PHP, first verify your LibMCVE installation directory. You will then need to configure PHP with the --with-mcve option. If you use this option without specifying the path to your MCVE installation, PHP will attempt to look in the default LibMCVE Install location (/usr/local). If MCVE is in a non-standard location, run configure with: --with-mcve=$mcve_path, where $mcve_path is the path to your MCVE installation. Please note that MCVE support requires that $mcve_path/lib and $mcve_path/include exist, and include mcve.h under the include directory and libmcve.so and/or libmcve.a under the lib directory.
Since MCVE has true server/client separation, there are no additional requirements for running PHP with MCVE support. To test your MCVE extension in PHP, you may connect to testbox.mcve.com on port 8333 for IP, or port 8444 for SSL using the MCVE PHP API. Use 'vitale' for your username, and 'test' for your password. Additional information about test facilities are available at www.mcve.com.
眈壽統蕉
Additional documentation about MCVE's PHP API can be found at http://www.mcve.com/docs/phpapi.pdf. Main Street's documentation is complete and should be the primary reference for functions.
醴翹 mcve_adduser -- Add an MCVE user using usersetup structure mcve_adduserarg -- Add a value to user configuration structure mcve_bt -- Get unsettled batch totals mcve_checkstatus -- Check to see if a transaction has completed mcve_chkpwd -- Verify Password mcve_chngpwd -- Change the system administrator's password mcve_completeauthorizations -- Number of complete authorizations in queue, returning an array of their identifiers mcve_connect -- Establish the connection to MCVE mcve_connectionerror -- Get a textual representation of why a connection failed mcve_deleteresponse -- Delete specified transaction from MCVE_CONN structure mcve_deletetrans -- Delete specified transaction from MCVE_CONN structure mcve_deleteusersetup -- Deallocate data associated with usersetup structure mcve_deluser -- Delete an MCVE user account mcve_destroyconn -- Destroy the connection and MCVE_CONN structure mcve_destroyengine -- Free memory associated with IP/SSL connectivity mcve_disableuser -- Disable an active MCVE user account mcve_edituser -- Edit MCVE user using usersetup structure mcve_enableuser -- Enable an inactive MCVE user account mcve_force -- Send a FORCE to MCVE. (typically, a phone-authorization) mcve_getcell -- Get a specific cell from a comma delimited response by column name mcve_getcellbynum -- Get a specific cell from a comma delimited response by column number mcve_getcommadelimited -- Get the RAW comma delimited data returned from MCVE mcve_getheader -- Get the name of the column in a comma-delimited response mcve_getuserarg -- Grab a value from usersetup structure mcve_getuserparam -- Get a user response parameter mcve_gft -- Audit MCVE for Failed transactions mcve_gl -- Audit MCVE for settled transactions mcve_gut -- Audit MCVE for Unsettled Transactions mcve_initconn -- Create and initialize an MCVE_CONN structure mcve_initengine -- Ready the client for IP/SSL Communication mcve_initusersetup -- Initialize structure to store user data mcve_iscommadelimited -- Checks to see if response is comma delimited mcve_liststats -- List statistics for all users on MCVE system mcve_listusers -- List all users on MCVE system mcve_maxconntimeout -- The maximum amount of time the API will attempt a connection to MCVE mcve_monitor -- Perform communication with MCVE (send/receive data) Non-blocking mcve_numcolumns -- Number of columns returned in a comma delimited response mcve_numrows -- Number of rows returned in a comma delimited response mcve_override -- Send an OVERRIDE to MCVE mcve_parsecommadelimited -- Parse the comma delimited response so mcve_getcell, etc will work mcve_ping -- Send a ping request to MCVE mcve_preauth -- Send a PREAUTHORIZATION to MCVE mcve_preauthcompletion -- Complete a PREAUTHORIZATION... Ready it for settlement mcve_qc -- Audit MCVE for a list of transactions in the outgoing queue mcve_responseparam -- Get a custom response parameter mcve_return -- Issue a RETURN or CREDIT to MCVE mcve_returncode -- Grab the exact return code from the transaction mcve_returnstatus -- Check to see if the transaction was successful mcve_sale -- Send a SALE to MCVE mcve_setblocking -- Set blocking/non-blocking mode for connection mcve_setdropfile -- Set the connection method to Drop-File mcve_setip -- Set the connection method to IP mcve_setssl -- Set the connection method to SSL mcve_settimeout -- Set maximum transaction time (per trans) mcve_settle -- Issue a settlement command to do a batch deposit mcve_text_avs -- Get a textual representation of the return_avs mcve_text_code -- Get a textual representation of the return_code mcve_text_cv -- Get a textual representation of the return_cv mcve_transactionauth -- Get the authorization number returned for the transaction (alpha-numeric) mcve_transactionavs -- Get the Address Verification return status mcve_transactionbatch -- Get the batch number associated with the transaction mcve_transactioncv -- Get the CVC2/CVV2/CID return status mcve_transactionid -- Get the unique system id for the transaction mcve_transactionitem -- Get the ITEM number in the associated batch for this transaction mcve_transactionssent -- Check to see if outgoing buffer is clear mcve_transactiontext -- Get verbiage (text) return from MCVE or processing institution mcve_transinqueue -- Number of transactions in client-queue mcve_transnew -- Start a new transaction mcve_transparam -- Add a parameter to a transaction mcve_transsend -- Finalize and send the transaction mcve_ub -- Get a list of all Unsettled batches mcve_uwait -- Wait x microsecs mcve_verifyconnection -- Set whether or not to PING upon connect to verify connection mcve_verifysslcert -- Set whether or not to verify the server ssl certificate mcve_void -- VOID a transaction in the settlement queue
綴豖
れ萸
ヶ輛
mdecrypt_generic
奻珨撰
mcve_adduser