source: www/manuals/PHP_manual/ref.mcve.html@ 1

Last change on this file since 1 was 1, checked in by george, 17 years ago

Prvotní import všeho

File size: 14.4 KB
Line 
1<HTML
2><HEAD
3><TITLE
4>MCVE Payment Functions</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
8REL="HOME"
9TITLE="Manuál PHP"
10HREF="index.html"><LINK
11REL="UP"
12TITLE="Reference funkcí"
13HREF="funcref.html"><LINK
14REL="PREVIOUS"
15TITLE="mdecrypt_generic"
16HREF="function.mdecrypt-generic.html"><LINK
17REL="NEXT"
18TITLE="mcve_adduser"
19HREF="function.mcve-adduser.html"><META
20HTTP-EQUIV="Content-type"
21CONTENT="text/html; charset=ISO-8859-2"></HEAD
22><BODY
23CLASS="reference"
24BGCOLOR="#FFFFFF"
25TEXT="#000000"
26LINK="#0000FF"
27VLINK="#840084"
28ALINK="#0000FF"
29><DIV
30CLASS="NAVHEADER"
31><TABLE
32SUMMARY="Header navigation table"
33WIDTH="100%"
34BORDER="0"
35CELLPADDING="0"
36CELLSPACING="0"
37><TR
38><TH
39COLSPAN="3"
40ALIGN="center"
41>Manuál PHP</TH
42></TR
43><TR
44><TD
45WIDTH="10%"
46ALIGN="left"
47VALIGN="bottom"
48><A
49HREF="function.mdecrypt-generic.html"
50ACCESSKEY="P"
51>Pøedcházející</A
52></TD
53><TD
54WIDTH="80%"
55ALIGN="center"
56VALIGN="bottom"
57></TD
58><TD
59WIDTH="10%"
60ALIGN="right"
61VALIGN="bottom"
62><A
63HREF="function.mcve-adduser.html"
64ACCESSKEY="N"
65>Dal¹í</A
66></TD
67></TR
68></TABLE
69><HR
70ALIGN="LEFT"
71WIDTH="100%"></DIV
72><DIV
73CLASS="reference"
74><A
75NAME="ref.mcve"
76></A
77><DIV
78CLASS="TITLEPAGE"
79><H1
80CLASS="title"
81>LV. MCVE Payment Functions</H1
82><DIV
83CLASS="PARTINTRO"
84><A
85NAME="AEN45693"
86></A
87><DIV
88CLASS="section"
89><H1
90CLASS="section"
91><A
92NAME="mcve.intro"
93></A
94>Úvod</H1
95><P
96>&#13; These functions interface the MCVE API (libmcve), allowing you
97 to work directly with MCVE from your PHP scripts. MCVE is
98 Main Street Softworks' solution to direct credit card processing.
99 It lets you directly address the credit card clearing houses via
100 your *nix box, modem and/or internet connection (bypassing the
101 need for an additional service such as Authorize.Net or Pay
102 Flow Pro). Using the MCVE module for PHP, you can process
103 credit cards directly through MCVE via your PHP scripts. The
104 following references will outline the process.
105 </P
106><DIV
107CLASS="note"
108><BLOCKQUOTE
109CLASS="note"
110><P
111><B
112>Poznámka: </B
113>
114 MCVE is the replacement for RedHat's CCVS. They contracted with
115 RedHat in late 2001 to migrate all existing clientelle to the
116 MCVE platform.
117 </P
118></BLOCKQUOTE
119></DIV
120></DIV
121><DIV
122CLASS="section"
123><H1
124CLASS="section"
125><A
126NAME="mcve.installation"
127></A
128>Instalace</H1
129><P
130>&#13; To enable MCVE Support in PHP, first verify your LibMCVE installation
131 directory. You will then need to configure PHP with the <TT
132CLASS="option"
133>--with-mcve</TT
134> option. If you use this
135 option without specifying the path to your MCVE installation, PHP
136 will attempt to look in the default LibMCVE Install location
137 (/usr/local). If MCVE is in a non-standard location, run
138 configure with: <TT
139CLASS="option"
140>--with-mcve=$mcve_path</TT
141>, where $mcve_path
142 is the path to your MCVE installation. Please note that MCVE
143 support requires that $mcve_path/lib and $mcve_path/include exist,
144 and include mcve.h under the include directory and libmcve.so and/or
145 libmcve.a under the lib directory.
146 </P
147><P
148>&#13; Since MCVE has true server/client separation, there are no additional
149 requirements for running PHP with MCVE support. To test your
150 MCVE extension in PHP, you may connect to testbox.mcve.com on
151 port 8333 for IP, or port 8444 for SSL using the MCVE PHP API.
152 Use 'vitale' for your username, and 'test' for your password.
153 Additional information about test facilities are available at
154 <A
155HREF="http://www.mcve.com"
156TARGET="_top"
157>www.mcve.com</A
158>.
159 </P
160></DIV
161><DIV
162CLASS="section"
163><H1
164CLASS="section"
165><A
166NAME="mcve.seealso"
167></A
168>Viz také</H1
169><P
170>&#13; Additional documentation about MCVE's PHP API can be found at
171 <A
172HREF="http://www.mcve.com/docs/phpapi.pdf"
173TARGET="_top"
174>&#13; http://www.mcve.com/docs/phpapi.pdf</A
175>. Main Street's
176 documentation is complete and should be the primary reference
177 for functions.
178 </P
179></DIV
180></DIV
181><DIV
182CLASS="TOC"
183><DL
184><DT
185><B
186>Obsah</B
187></DT
188><DT
189><A
190HREF="function.mcve-adduser.html"
191>mcve_adduser</A
192>&nbsp;--&nbsp; Add an MCVE user using usersetup structure </DT
193><DT
194><A
195HREF="function.mcve-adduserarg.html"
196>mcve_adduserarg</A
197>&nbsp;--&nbsp; Add a value to user configuration structure </DT
198><DT
199><A
200HREF="function.mcve-bt.html"
201>mcve_bt</A
202>&nbsp;--&nbsp; Get unsettled batch totals </DT
203><DT
204><A
205HREF="function.mcve-checkstatus.html"
206>mcve_checkstatus</A
207>&nbsp;--&nbsp; Check to see if a transaction has completed </DT
208><DT
209><A
210HREF="function.mcve-chkpwd.html"
211>mcve_chkpwd</A
212>&nbsp;--&nbsp; Verify Password </DT
213><DT
214><A
215HREF="function.mcve-chngpwd.html"
216>mcve_chngpwd</A
217>&nbsp;--&nbsp; Change the system administrator's password </DT
218><DT
219><A
220HREF="function.mcve-completeauthorizations.html"
221>mcve_completeauthorizations</A
222>&nbsp;--&nbsp; Number of complete authorizations in queue, returning an array of their identifiers </DT
223><DT
224><A
225HREF="function.mcve-connect.html"
226>mcve_connect</A
227>&nbsp;--&nbsp; Establish the connection to MCVE </DT
228><DT
229><A
230HREF="function.mcve-connectionerror.html"
231>mcve_connectionerror</A
232>&nbsp;--&nbsp; Get a textual representation of why a connection failed </DT
233><DT
234><A
235HREF="function.mcve-deleteresponse.html"
236>mcve_deleteresponse</A
237>&nbsp;--&nbsp; Delete specified transaction from MCVE_CONN structure </DT
238><DT
239><A
240HREF="function.mcve-deletetrans.html"
241>mcve_deletetrans</A
242>&nbsp;--&nbsp; Delete specified transaction from MCVE_CONN structure </DT
243><DT
244><A
245HREF="function.mcve-deleteusersetup.html"
246>mcve_deleteusersetup</A
247>&nbsp;--&nbsp; Deallocate data associated with usersetup structure </DT
248><DT
249><A
250HREF="function.mcve-deluser.html"
251>mcve_deluser</A
252>&nbsp;--&nbsp; Delete an MCVE user account </DT
253><DT
254><A
255HREF="function.mcve-destroyconn.html"
256>mcve_destroyconn</A
257>&nbsp;--&nbsp; Destroy the connection and MCVE_CONN structure </DT
258><DT
259><A
260HREF="function.mcve-destroyengine.html"
261>mcve_destroyengine</A
262>&nbsp;--&nbsp; Free memory associated with IP/SSL connectivity </DT
263><DT
264><A
265HREF="function.mcve-disableuser.html"
266>mcve_disableuser</A
267>&nbsp;--&nbsp; Disable an active MCVE user account </DT
268><DT
269><A
270HREF="function.mcve-edituser.html"
271>mcve_edituser</A
272>&nbsp;--&nbsp; Edit MCVE user using usersetup structure </DT
273><DT
274><A
275HREF="function.mcve-enableuser.html"
276>mcve_enableuser</A
277>&nbsp;--&nbsp; Enable an inactive MCVE user account </DT
278><DT
279><A
280HREF="function.mcve-force.html"
281>mcve_force</A
282>&nbsp;--&nbsp; Send a FORCE to MCVE. (typically, a phone-authorization) </DT
283><DT
284><A
285HREF="function.mcve-getcell.html"
286>mcve_getcell</A
287>&nbsp;--&nbsp; Get a specific cell from a comma delimited response by column name </DT
288><DT
289><A
290HREF="function.mcve-getcellbynum.html"
291>mcve_getcellbynum</A
292>&nbsp;--&nbsp; Get a specific cell from a comma delimited response by column number </DT
293><DT
294><A
295HREF="function.mcve-getcommadelimited.html"
296>mcve_getcommadelimited</A
297>&nbsp;--&nbsp; Get the RAW comma delimited data returned from MCVE </DT
298><DT
299><A
300HREF="function.mcve-getheader.html"
301>mcve_getheader</A
302>&nbsp;--&nbsp; Get the name of the column in a comma-delimited response </DT
303><DT
304><A
305HREF="function.mcve-getuserarg.html"
306>mcve_getuserarg</A
307>&nbsp;--&nbsp; Grab a value from usersetup structure </DT
308><DT
309><A
310HREF="function.mcve-getuserparam.html"
311>mcve_getuserparam</A
312>&nbsp;--&nbsp; Get a user response parameter </DT
313><DT
314><A
315HREF="function.mcve-gft.html"
316>mcve_gft</A
317>&nbsp;--&nbsp; Audit MCVE for Failed transactions </DT
318><DT
319><A
320HREF="function.mcve-gl.html"
321>mcve_gl</A
322>&nbsp;--&nbsp; Audit MCVE for settled transactions </DT
323><DT
324><A
325HREF="function.mcve-gut.html"
326>mcve_gut</A
327>&nbsp;--&nbsp; Audit MCVE for Unsettled Transactions </DT
328><DT
329><A
330HREF="function.mcve-initconn.html"
331>mcve_initconn</A
332>&nbsp;--&nbsp; Create and initialize an MCVE_CONN structure </DT
333><DT
334><A
335HREF="function.mcve-initengine.html"
336>mcve_initengine</A
337>&nbsp;--&nbsp; Ready the client for IP/SSL Communication </DT
338><DT
339><A
340HREF="function.mcve-initusersetup.html"
341>mcve_initusersetup</A
342>&nbsp;--&nbsp; Initialize structure to store user data </DT
343><DT
344><A
345HREF="function.mcve-iscommadelimited.html"
346>mcve_iscommadelimited</A
347>&nbsp;--&nbsp; Checks to see if response is comma delimited </DT
348><DT
349><A
350HREF="function.mcve-liststats.html"
351>mcve_liststats</A
352>&nbsp;--&nbsp; List statistics for all users on MCVE system </DT
353><DT
354><A
355HREF="function.mcve-listusers.html"
356>mcve_listusers</A
357>&nbsp;--&nbsp; List all users on MCVE system </DT
358><DT
359><A
360HREF="function.mcve-maxconntimeout.html"
361>mcve_maxconntimeout</A
362>&nbsp;--&nbsp; The maximum amount of time the API will attempt a connection to MCVE </DT
363><DT
364><A
365HREF="function.mcve-monitor.html"
366>mcve_monitor</A
367>&nbsp;--&nbsp; Perform communication with MCVE (send/receive data) Non-blocking </DT
368><DT
369><A
370HREF="function.mcve-numcolumns.html"
371>mcve_numcolumns</A
372>&nbsp;--&nbsp; Number of columns returned in a comma delimited response </DT
373><DT
374><A
375HREF="function.mcve-numrows.html"
376>mcve_numrows</A
377>&nbsp;--&nbsp; Number of rows returned in a comma delimited response </DT
378><DT
379><A
380HREF="function.mcve-override.html"
381>mcve_override</A
382>&nbsp;--&nbsp; Send an OVERRIDE to MCVE </DT
383><DT
384><A
385HREF="function.mcve-parsecommadelimited.html"
386>mcve_parsecommadelimited</A
387>&nbsp;--&nbsp; Parse the comma delimited response so mcve_getcell, etc will work </DT
388><DT
389><A
390HREF="function.mcve-ping.html"
391>mcve_ping</A
392>&nbsp;--&nbsp; Send a ping request to MCVE </DT
393><DT
394><A
395HREF="function.mcve-preauth.html"
396>mcve_preauth</A
397>&nbsp;--&nbsp; Send a PREAUTHORIZATION to MCVE </DT
398><DT
399><A
400HREF="function.mcve-preauthcompletion.html"
401>mcve_preauthcompletion</A
402>&nbsp;--&nbsp; Complete a PREAUTHORIZATION... Ready it for settlement </DT
403><DT
404><A
405HREF="function.mcve-qc.html"
406>mcve_qc</A
407>&nbsp;--&nbsp; Audit MCVE for a list of transactions in the outgoing queue </DT
408><DT
409><A
410HREF="function.mcve-responseparam.html"
411>mcve_responseparam</A
412>&nbsp;--&nbsp; Get a custom response parameter </DT
413><DT
414><A
415HREF="function.mcve-return.html"
416>mcve_return</A
417>&nbsp;--&nbsp; Issue a RETURN or CREDIT to MCVE </DT
418><DT
419><A
420HREF="function.mcve-returncode.html"
421>mcve_returncode</A
422>&nbsp;--&nbsp; Grab the exact return code from the transaction </DT
423><DT
424><A
425HREF="function.mcve-returnstatus.html"
426>mcve_returnstatus</A
427>&nbsp;--&nbsp; Check to see if the transaction was successful </DT
428><DT
429><A
430HREF="function.mcve-sale.html"
431>mcve_sale</A
432>&nbsp;--&nbsp; Send a SALE to MCVE </DT
433><DT
434><A
435HREF="function.mcve-setblocking.html"
436>mcve_setblocking</A
437>&nbsp;--&nbsp; Set blocking/non-blocking mode for connection </DT
438><DT
439><A
440HREF="function.mcve-setdropfile.html"
441>mcve_setdropfile</A
442>&nbsp;--&nbsp; Set the connection method to Drop-File </DT
443><DT
444><A
445HREF="function.mcve-setip.html"
446>mcve_setip</A
447>&nbsp;--&nbsp; Set the connection method to IP </DT
448><DT
449><A
450HREF="function.mcve-setssl.html"
451>mcve_setssl</A
452>&nbsp;--&nbsp; Set the connection method to SSL </DT
453><DT
454><A
455HREF="function.mcve-settimeout.html"
456>mcve_settimeout</A
457>&nbsp;--&nbsp; Set maximum transaction time (per trans) </DT
458><DT
459><A
460HREF="function.mcve-settle.html"
461>mcve_settle</A
462>&nbsp;--&nbsp; Issue a settlement command to do a batch deposit </DT
463><DT
464><A
465HREF="function.mcve-text-avs.html"
466>mcve_text_avs</A
467>&nbsp;--&nbsp; Get a textual representation of the return_avs </DT
468><DT
469><A
470HREF="function.mcve-text-code.html"
471>mcve_text_code</A
472>&nbsp;--&nbsp; Get a textual representation of the return_code </DT
473><DT
474><A
475HREF="function.mcve-text-cv.html"
476>mcve_text_cv</A
477>&nbsp;--&nbsp; Get a textual representation of the return_cv </DT
478><DT
479><A
480HREF="function.mcve-transactionauth.html"
481>mcve_transactionauth</A
482>&nbsp;--&nbsp; Get the authorization number returned for the transaction (alpha-numeric) </DT
483><DT
484><A
485HREF="function.mcve-transactionavs.html"
486>mcve_transactionavs</A
487>&nbsp;--&nbsp; Get the Address Verification return status </DT
488><DT
489><A
490HREF="function.mcve-transactionbatch.html"
491>mcve_transactionbatch</A
492>&nbsp;--&nbsp; Get the batch number associated with the transaction </DT
493><DT
494><A
495HREF="function.mcve-transactioncv.html"
496>mcve_transactioncv</A
497>&nbsp;--&nbsp; Get the CVC2/CVV2/CID return status </DT
498><DT
499><A
500HREF="function.mcve-transactionid.html"
501>mcve_transactionid</A
502>&nbsp;--&nbsp; Get the unique system id for the transaction </DT
503><DT
504><A
505HREF="function.mcve-transactionitem.html"
506>mcve_transactionitem</A
507>&nbsp;--&nbsp; Get the ITEM number in the associated batch for this transaction </DT
508><DT
509><A
510HREF="function.mcve-transactionssent.html"
511>mcve_transactionssent</A
512>&nbsp;--&nbsp; Check to see if outgoing buffer is clear </DT
513><DT
514><A
515HREF="function.mcve-transactiontext.html"
516>mcve_transactiontext</A
517>&nbsp;--&nbsp; Get verbiage (text) return from MCVE or processing institution </DT
518><DT
519><A
520HREF="function.mcve-transinqueue.html"
521>mcve_transinqueue</A
522>&nbsp;--&nbsp; Number of transactions in client-queue </DT
523><DT
524><A
525HREF="function.mcve-transnew.html"
526>mcve_transnew</A
527>&nbsp;--&nbsp; Start a new transaction </DT
528><DT
529><A
530HREF="function.mcve-transparam.html"
531>mcve_transparam</A
532>&nbsp;--&nbsp; Add a parameter to a transaction </DT
533><DT
534><A
535HREF="function.mcve-transsend.html"
536>mcve_transsend</A
537>&nbsp;--&nbsp; Finalize and send the transaction </DT
538><DT
539><A
540HREF="function.mcve-ub.html"
541>mcve_ub</A
542>&nbsp;--&nbsp; Get a list of all Unsettled batches </DT
543><DT
544><A
545HREF="function.mcve-uwait.html"
546>mcve_uwait</A
547>&nbsp;--&nbsp; Wait x microsecs </DT
548><DT
549><A
550HREF="function.mcve-verifyconnection.html"
551>mcve_verifyconnection</A
552>&nbsp;--&nbsp; Set whether or not to PING upon connect to verify connection </DT
553><DT
554><A
555HREF="function.mcve-verifysslcert.html"
556>mcve_verifysslcert</A
557>&nbsp;--&nbsp; Set whether or not to verify the server ssl certificate </DT
558><DT
559><A
560HREF="function.mcve-void.html"
561>mcve_void</A
562>&nbsp;--&nbsp; VOID a transaction in the settlement queue </DT
563></DL
564></DIV
565></DIV
566></DIV
567><DIV
568CLASS="NAVFOOTER"
569><HR
570ALIGN="LEFT"
571WIDTH="100%"><TABLE
572SUMMARY="Footer navigation table"
573WIDTH="100%"
574BORDER="0"
575CELLPADDING="0"
576CELLSPACING="0"
577><TR
578><TD
579WIDTH="33%"
580ALIGN="left"
581VALIGN="top"
582><A
583HREF="function.mdecrypt-generic.html"
584ACCESSKEY="P"
585>Pøedcházející</A
586></TD
587><TD
588WIDTH="34%"
589ALIGN="center"
590VALIGN="top"
591><A
592HREF="index.html"
593ACCESSKEY="H"
594>Domù</A
595></TD
596><TD
597WIDTH="33%"
598ALIGN="right"
599VALIGN="top"
600><A
601HREF="function.mcve-adduser.html"
602ACCESSKEY="N"
603>Dal¹í</A
604></TD
605></TR
606><TR
607><TD
608WIDTH="33%"
609ALIGN="left"
610VALIGN="top"
611>mdecrypt_generic</TD
612><TD
613WIDTH="34%"
614ALIGN="center"
615VALIGN="top"
616><A
617HREF="funcref.html"
618ACCESSKEY="U"
619>Nahoru</A
620></TD
621><TD
622WIDTH="33%"
623ALIGN="right"
624VALIGN="top"
625>mcve_adduser</TD
626></TR
627></TABLE
628></DIV
629></BODY
630></HTML
631>
Note: See TracBrowser for help on using the repository browser.