From 45a1f3a36e2d75d27874b2cfd308151b06c085b8 Mon Sep 17 00:00:00 2001 From: Prabal Mallick Date: Mon, 8 Jun 2020 13:35:24 +0600 Subject: [PATCH] Update Readme --- README.md | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d2b3b83..c9f6ce8 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,22 @@ +### SSLCommerz - ASP.NET + +### Prerequisites + +1. Visual Studio 2017 +2. [Sandbox Account](https://developer.sslcommerz.com/registration/ "SSLCommerz Sandbox Registration") ## Process flow to integrate SSLCommerz by using ASP.Net sample code. 1. First create your Sanbox(Test Environment) store account from below url. After registration you will get two mail. One for Store_id and Store_password. Another one for Report panel access. - https://developer.sslcommerz.com/registration/ - Note: For live store id or account you have to communicate with us. Our mail address: operation@sslcommerz.com +> [Sandbox Account](https://developer.sslcommerz.com/registration/ "SSLCommerz Sandbox Registration") +> Note: For live store id or account you have to communicate with us. Our mail address: `operation@sslcommerz.com` + 2. Then give the store_id and store_password in Default.aspx.cs and Success.aspx.cs page. 3. To send a Payment request using this ASP.Net code snippet, User need to construct a NameValueCollection, as shown in Page_Load method of Default.aspx.cs. 4. After constructing this NameValueCollection, SSLCommerz Class is instantiated with user store Id and password. Then InitiateTransaction Method is called which will return a URL or JSON list depending on user choice of receiving Gateway list or not. -5. User will hit that URL returned by previous InitiateTransaction method call. That will prompt user to choose payment option and perform payment procedures. After completing payment, SSL Commerz page will redirect user to “success_url” defined by user during initial parameter NameValueCollection construction in previous Call to initiateTransaction method. +5. User will hit that URL returned by previous InitiateTransaction method call. That will prompt user to choose payment option and perform payment procedures. After completing payment, SSL Commerz page will redirect user to `success_url` defined by user during initial parameter NameValueCollection construction in previous Call to initiateTransaction method. 6. User should pass MerchantTrxID, MerchantTrxAmount, MerchantTrxCurrency, HttpRequest into this method: Page_Load of Success.aspx.cs This will validate those query parameters returned by payment success redirect, and return true if successful transaction and false otherwise. @@ -17,8 +24,7 @@ In case of false, user should check status in that first returned response. ## Help URL - 1. https://developer.sslcommerz.com/docs.html :URL to start integrate SSLCOMMERZ as a Developer - 2. https://developer.sslcommerz.com/registration/: URL to Create Account in Sandbox + 1. [Developer Paget](https://developer.sslcommerz.com/docs.html "SSLCommerz Developer Page") ## Check List After Making the site Live or Connect with Live SSLCOMMERZ Customer need to do a live transaction to check the full process. After the transaction below things need to ensure @@ -28,4 +34,12 @@ Customer need to do a live transaction to check the full process. After the tran 3. Transaction amount is same in Issuer bank end. 4. In Transaction Details API Validated by Merchant is YES. -Note: In the gateway you may not found Banks. After getting live store id, it takes 10 to 15 working days to enable these. You may follow up your KAM(Key Account Manager). \ No newline at end of file +Note: In the gateway you may not found Banks. After getting live store id, it takes 10 to 15 working days to enable these. You may follow up your KAM(Key Account Manager). + +### Contributors + +>Prabal Mallick + +> Md. Rakibul Islam + +> integration@sslcommerz.com \ No newline at end of file