Skip to content

caunt/csharp-sdk

 
 

Repository files navigation

IPSP C# SDK (beta)

Payment service provider

A payment service provider (PSP) offers shops online services for accepting electronic payments by a variety of payment methods including credit card, bank-based payments such as direct debit, bank transfer, and real-time bank transfer based on online banking. Typically, they use a software as a service model and form a single payment gateway for their clients (merchants) to multiple payment methods. read more

Installation

SDK availble on NuGet.

Requirements

Fondy account - Register here

Newtonsoft.json (JSON.NET)

Simple Start

using CloudIpspSDK;
using CloudIpspSDK.Checkout;

Config.MerchantId = 1396424;
Config.SecretKey = "test";

var req = new CheckoutRequest {
  order_id = Guid.NewGuid().ToString("N"),
  amount = 100000,
  order_desc = "checkout json demo",
  currency = "EUR"
};
var resp = new Url().Post(req);
if (resp.Error == null) {
 string url = resp.checkout_url;
}

Api

See docs

Examples

To check it you can use build-in ISS server http://localhost:7777/

Releases

No releases published

Packages

No packages published

Languages

  • C# 70.3%
  • Classic ASP 29.1%
  • HTML 0.6%