Payment Processing API Documentation
Cloud9 Payment Gateway Documentation. This site can also be reached at http://docs.cloud9paymentgateway.com
Contents
Step One
Please, review the Developer Guide to determine the best integration approach, before diving into the API Documentation below.
API Documentation
Connection
// Initializing library;
// called once per application upon startup
PgcInit("PgcSample");
// Connection handle; // one per connection to the remote server int nConn = 0;
// Creating connection to the remote server; // called once per connection nConn = PgcNewConn(PGC_SVC_C9PG_PWE_TEST, "Name", "Token", PGC_TIMEO_TXN, "PgcSample", ""); if (nConn < PGC_ERR_NONE_MARKER) {
// Handing errors // nConn contains the error code // stop
}
// Connecting to the remote server; // optional; will be called automatically if not connected int nErr = PgcConnect(nConn); if (nErr < PGC_ERR_NONE_MARKER) {
char sErr[256]; // Error tag; a more descriptive representation of the error code PgcGetErrTag(nErr, sErr); // Getting error tag
}
→ Online Documentation: Payment Gateway Client Library 0.1 documentation
Samples
Web Browser Samples
Web Browser Integration Samples
RESTFul JSON/SOAP
MS Windows Samples
iOS Integration Samples
Android Integration Samples
From the makers of Cloud9 Payment Processing Gateway and Creditline Credit Card Processing Software