Difference between revisions of "IOS API Documentation"

From Cloud9 Payment Processing Gateway Documentation
Jump to: navigation, search
Line 13: Line 13:
 
#Call initWithDelegate to instantiated the iPassthruManager class.
 
#Call initWithDelegate to instantiated the iPassthruManager class.
 
#Call setConnectionWithHost to set the Multiplexer host and port
 
#Call setConnectionWithHost to set the Multiplexer host and port
#Call Start to connect to Multiplexer and connect to the ICM122 via bluetooth
+
#Call Start to connect to Multiplexer and connect to the payment terminal via bluetooth
 
#Call Stop to disconnect the above connections.
 
#Call Stop to disconnect the above connections.
  
Line 23: Line 23:
  
 
=Protocol Reference=
 
=Protocol Reference=
*IPassthruManagerNotifyClient is used for ICM122 communication event notify.
+
*IPassthruManagerNotifyClient is used for payment terminal communication event notifications.
*IPassthruManagerNotifySSL is used for Multiplexer communication event notify.
+
*IPassthruManagerNotifySSL is used for Multiplexer communication event notifications.
 
*ServerToClientDataSent is triggered after sending data to ICM122.
 
*ServerToClientDataSent is triggered after sending data to ICM122.
 
*ClientToServerDataSent is triggered after sending data to Multiplexer.
 
*ClientToServerDataSent is triggered after sending data to Multiplexer.
 
*HttpsDataReceived is triggered when a Cloud-PDC response is receieved.
 
*HttpsDataReceived is triggered when a Cloud-PDC response is receieved.
 
*HttpsErrorOccurred is triggered when the https connection encounter a error.
 
*HttpsErrorOccurred is triggered when the https connection encounter a error.
 +
 +
=JSON Protocol Reference=
 +
The iOS facilitates payment operations via JSON Key-Value pairs. See [[JSON API Documentation]] for full functionality info.
  
 
{{Template:C9Footer|Integration}}
 
{{Template:C9Footer|Integration}}

Revision as of 23:32, 12 January 2018




Cloud9 Payment Gateway Documentation. This site can also be reached at http://docs.cloud9paymentgateway.com

Sample Test Application Screenshot

Download iOS SDK Library

iOS SDK Library Download

Sample iOS Application

iOS Sample Project Download

Integration Steps

iPassthruManager

IPassthruManager is a virtual payment terminal, which communicates with Multiplexer.
Multiplexer is a Cloud Based Payment Terminal Communication Server. All TCP based pin pads are controlled by the Multiplexer.

  1. Implement the protocol IPassthruNotificationSupport
  2. Call initWithDelegate to instantiated the iPassthruManager class.
  3. Call setConnectionWithHost to set the Multiplexer host and port
  4. Call Start to connect to Multiplexer and connect to the payment terminal via bluetooth
  5. Call Stop to disconnect the above connections.

iPDCManager

iPDCManager assists communication with Cloud9 Payment Web Device Controller(PWC), which abstracts the control of payment terminals.

  1. Implement the protocol IPDCManagerNotify
  2. Call initWithDelegate to instantiated the iPDCManager class.
  3. Call postTransactionToUrl to send a JSON request to Cloud-PDC via https protocol.

Protocol Reference

  • IPassthruManagerNotifyClient is used for payment terminal communication event notifications.
  • IPassthruManagerNotifySSL is used for Multiplexer communication event notifications.
  • ServerToClientDataSent is triggered after sending data to ICM122.
  • ClientToServerDataSent is triggered after sending data to Multiplexer.
  • HttpsDataReceived is triggered when a Cloud-PDC response is receieved.
  • HttpsErrorOccurred is triggered when the https connection encounter a error.

JSON Protocol Reference

The iOS facilitates payment operations via JSON Key-Value pairs. See JSON API Documentation for full functionality info.





From the makers of Cloud9 Payment Processing Gateway and Creditline Credit Card Processing Software