/sslcommerz

SSLCommerz integration in ASP.NET Core

Primary LanguageC#MIT LicenseMIT

SSLCommerz

SSLCommerz integration in ASP.NET Core

Build Status License

Instructions

You need to create a free sandbox account from SSLCommerz. After signing up you will get your store id and store password via email.

In this demo project I've only used the parameters that are absolutely required to work with SSLCommerz api version 4.00. The official documentation provide much more details regarding the processes involved as well as explanation of each parameters. You should read the entire documentation for better understanding. You can find the link to the documentation in here.

Running inside a docker container

You need to have docker installed on your machine before running the followings:

$ docker pull shibbir/sslcommerz
$ docker run -d --rm -p 8080:80 --name sslcommerz -e StoreId='<your_store_id>' -e StorePassword='your_store_password' sslcommerz-aspnetcore

Running in Visual Studio

Open appsettings.json and add your store id and store password in EnvironmentVariables section.

"EnvironmentVariables": {
    "StoreId": "your_store_id",
    "StorePassword": "your_store_password"
}

Environment Variables

Name Description
StoreId Your SSLCommerz Store ID
StorePassword Your SSLCommerz Store Password

Demo

https://sslcommerz.herokuapp.com/

License

The MIT License