Search

Page tree
Skip to end of metadata
Go to start of metadata

Overview

The payment gateway SDK (PG SDK) is designed to enable the developer to add any payment gateway into the interworks.cloud platfrom.

The PG SDK is designed to be highly extensible. This means that it can support any development of a new payment gateway. The PG SDK provides various tools that allow you to easily write and integrate a new payment gateway into the interworks.cloud platform. In addition, compliance with SDK rules allowed the payment gateway that you have written to be integrated into any future application of interworks.cloud platfrom without requiring any migration.

The least prerequisite for writing a new payment gateway is to be familiar with writing C#.

Hierarchy

A payment gateway accesses the interworks cloud platform through Payment Gateway SDK Manager illustrated in the diagram below.

Hierarchy Diagram

  • Payment Gateway SDK Manager: Manages registration of the SDK,  discoveries extensions types of payment gateways such as Processors, Aggregators and Setup Options on applications.
  • Processor: A processor will be used from interworks.cloud platform intend to complete a payment transaction. 
  • Aggregator: An aggregator collects the data from interworks.cloud platform. The collected data is used from processor for interacting with payment gateway. In case the developer does not extend it then will be used the default aggregator.
  • Setup Options: A collection from payment gateway settings.

Describing the basic classes of the SDK

  • TransactionRequest : An object which contains all basic info required for a payment transaction.
  • TransactionResponse:  An object which contains all basic info required for verifying a payment transaction on interwokrs.cloud platform. This Information should be able to be collected from payment gateway.
  • TransactionRedirectRequest: An extended object of TransactionRequest  which contains all basic info required for completing a payment transaction to redirection payment gateways.
  • TransactionRedirectResponse: An extended object of TransactionResponse which contains all basic info required for verifying  a payment transaction to redirection payment gateways on interwokrs.cloud platform. This Information should be able to be collected from payment gateway.
  • No labels

1 Comment

  1. Neofitos Theodoridis  George Koskinopoulos  Vicky Proikoglou  ekana edw publish to documentation pou mou dwsate