|
|
 |
LXXVI. MCVE (Monetra) Payment Functions
These functions interface the MCVE (Monetra) API (libmonetra,
formerly known as libmcve), allowing you
to work directly with MCVE/Monetra from your PHP scripts.
MCVE/Monetra is Main Street Softworks' solution to direct
credit/debit/gift card processing for Linux/Unix/MacOSX/Windows
( http://www.mainstreetsoftworks.com/ ).
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/Monetra module for PHP, you can process
credit cards directly through MCVE/Monetra via your PHP scripts.
The following references will outline the process.
Nota:
MCVE/Monetra is the replacement for RedHat's CCVS. They contracted with
RedHat in late 2001 to migrate all existing clientele to the
MCVE platform.
Nota:
This extension has been moved to the PECL repository and is no longer bundled with
PHP as of PHP 5.1.0.
Nota: Esta
extensión no está disponible en plataformas
Windows
To enable MCVE (Monetra) Support in PHP, first verify your LibMonetra
(formerly libmcve) installation directory. If you are compiling
MCVE/Monetra support directly into PHP, you will then need to configure
PHP with the --with-mcve option. If you
use this option without specifying the path to your libmonetra installation,
PHP will attempt to look in the default LibMonetra Install location
(/usr/local). If Monetra (MCVE) is in a non-standard
location, run configure with: --with-mcve=$mcve_path, where $mcve_path
is the path to your MCVE/Monetra installation. Please note that
MCVE/Monetra support requires that $mcve_path/lib and $mcve_path/include
exist, and include mcve.h or
monetra.h under the include directory and
libmcve.so and/or libmcve.a
and/or libmonetra.so and/or
libmonetra.a under the lib directory.
If you want to install MCVE/Monetra support as a module, you can do
so by using the PECL repository, and issuing the 'pecl install mcve'
command if you are running a PEAR version of at least 1.4.0.
Since MCVE/Monetra has true server/client separation, there are no
additional requirements for running PHP with MCVE support. To test
your MCVE/Monetra extension in PHP, you may connect to
testbox.monetra.com on port 8333 for IP, or port 8444 for SSL using
the MCVE/Monetra PHP API.
Use 'vitale' for your username, and 'test' for your password.
Additional information about test facilities are available at
http://www.mainstreetsoftworks.com/.
Estas constantes están
definidas por esta extensión y estarán disponibles
solamente cuando la extensión ha sido o bien compilada dentro
de PHP o grabada dinámicamente en tiempo de ejecución.
- Tabla de contenidos
- m_checkstatus -- Check to see if a transaction has completed
- m_completeauthorizations -- Number of complete authorizations in queue, returning an array of their identifiers
- m_connect -- Establish the connection to MCVE
- m_connectionerror -- Get a textual representation of why a connection failed
- m_deletetrans -- Delete specified transaction from MCVE_CONN structure
- m_destroyconn -- Destroy the connection and MCVE_CONN structure
- m_destroyengine -- Free memory associated with IP/SSL connectivity
- m_getcell -- Get a specific cell from a comma delimited response by column name
- m_getcellbynum -- Get a specific cell from a comma delimited response by column number
- m_getcommadelimited -- Get the RAW comma delimited data returned from MCVE
- m_getheader -- Get the name of the column in a comma-delimited response
- m_initconn -- Create and initialize an MCVE_CONN structure
- m_initengine -- Ready the client for IP/SSL Communication
- m_iscommadelimited -- Checks to see if response is comma delimited
- m_maxconntimeout -- The maximum amount of time the API will attempt a connection to MCVE
- m_monitor -- Perform communication with MCVE (send/receive data) Non-blocking
- m_numcolumns -- Number of columns returned in a comma delimited response
- m_numrows -- Number of rows returned in a comma delimited response
- m_parsecommadelimited -- Parse the comma delimited response so m_getcell, etc will work
- m_responsekeys -- Returns array of strings which represents the keys that can be used
for response parameters on this transaction
- m_responseparam -- Get a custom response parameter
- m_returnstatus -- Check to see if the transaction was successful
- m_setblocking -- Set blocking/non-blocking mode for connection
- m_setdropfile -- Set the connection method to Drop-File
- m_setip -- Set the connection method to IP
- m_setssl_cafile -- Set SSL CA (Certificate Authority) file for verification of server
certificate
- m_setssl_files -- Set certificate key files and certificates if server requires client certificate
verification
- m_setssl -- Set the connection method to SSL
- m_settimeout -- Set maximum transaction time (per trans)
- m_sslcert_gen_hash -- Generate hash for SSL client certificate verification
- m_transactionssent -- Check to see if outgoing buffer is clear
- m_transinqueue -- Number of transactions in client-queue
- m_transkeyval -- Add key/value pair to a transaction. Replaces deprecated transparam()
- m_transnew -- Start a new transaction
- m_transsend -- Finalize and send the transaction
- m_uwait -- Wait x microsecs
- m_validateidentifier -- Whether or not to validate the passed identifier on any transaction it is passed to
- m_verifyconnection -- Set whether or not to PING upon connect to verify connection
- m_verifysslcert -- Set whether or not to verify the server ssl certificate
add a note
User Contributed Notes
MCVE (Monetra) Payment Functions
There are no user contributed notes for this page.
| |
| | Citas célebres | El amor, como se entiende en la sociedad, no es más que el intercambio de dos fantasías y el roce de dos pieles. Nicolas De Chamfort | | Citas en tu mail | | ©Contenidos Gratis |
| Chiste de... Mamá, mamá | | La muerte de la abuela | - Mamá, mamá, ¡la abuelita se acaba de morir!
- En fín..., y nos queda todavía la mitad del abuelo en la nevera. | | Chistes en tu mail | | ©ContenidosGratis |
| Inicio | Acción | Estrategia | Palabras | Puzzles | Solitarios | Foro Trucos |  | Cake Mania Jugadores: 6835 Categoría del juego: Acción Objetivo del juego: Ayuda a Jill a recuperar la pastelería de su abuela llevando su propia pastelería; consigue clientes y gana dinero. |
|  | Rainbow Web Jugadores: 2199 Categoría del juego: Puzzles Objetivo del juego: Rompe un pegajoso hechizo y salva un reino de fantasía en Rainbow Web. Tendrás toneladas de diversión mientras juegas a este mágico desafío para la mente. |
|  | Mahjongg Fortuna Jugadores: 12462 Categoría del juego: Solitarios Objetivo del juego: Velocidad y habilidad mental son las armas más importantes en esta versión de un antiguo juego asiático. Despeja el tablero lo antes posible haciendo clic en las fichas iguales y gánate la fama eterna de la puntuación más alta. |
|  | Chainz 2 Jugadores: 6955 Categoría del juego: Puzzles Objetivo del juego: Entra en el mundo de las combinaciones con Chainz 2: Relinked, emocionante secuela del exitazo del año pasado, Chainz. Gira eslabones y crea combinaciones de 3 ó más. |
|  | Delicious Jugadores: 4405 Categoría del juego: Acción Objetivo del juego: ¿Eres un as de la multitarea? ¿Quieres que tus clientes estén contentos? ¡Pues Delicious es tu juego! Sacia el apetito de los clientes y tenlos contentos; ¡no te arriesgues! |
|  | Bookworm Jugadores: 4568 Categoría del juego: Palabras Objetivo del juego: Junta las letras para formar palabras. ¡Las palabras más largas valen más puntos! |
|  | Zuma Jugadores: 4976 Categoría del juego: Acción Objetivo del juego: Controla el ídolo de la rana de piedra de los antiguos Zuma en este intrigante enigma de acción. ¡Dispara bolas para formar conjuntos de tres, pero si dejas que lleguen a la calavera dorada morirás! |
|  | Jewel of Atlantis Jugadores: 3798 Categoría del juego: Puzzles Objetivo del juego: Descubre la ciudad hundida de la Atlántida y busca valiosos tesoros. Viaja más allá de las profundidades del mar y vive trepidantes aventuras en Jewel of Atlantis. |
|  | Jewel Quest Jugadores: 3727 Categoría del juego: Puzzles Objetivo del juego: Convierte la arena de la antigua selva en oro tan rápido como puedas juntando grupos de 3 elementos. ¡Los grupos más grandes valen más puntos! |
|  | Bejeweled 2 Jugadores: 3659 Categoría del juego: Puzzles Objetivo del juego: Con cuatro modos de juego únicos y fascinantes, nuevas piezas de juego explosivas e imponentes fondos planetarios, Bejeweled 2 es mucho más adictivo que nunca. |
|
|