Skip to content

SSLCOMMERZ is a bangladeshi payment gateway provider. This is Java module for SSLCOMMERZ.

Notifications You must be signed in to change notification settings

sslcommerz/SSLCommerz-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

SSLCommerz - JAVA

  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

  2. Then give the store_id and store_password in TransactionInitiator.java and TransactionResponseValidator.java page.

  3. To send a Payment request using this java code snippet, User need to construct a Map<String,String>, as shown in com.ssl.commerz.Utility.ParameterBuilder.constructRequestParameters method.

  4. After constructing this Java Map, com.ssl.commerz.SSLCommerz Class is instantiated with user store Id and password. Then com.ssl.commerz.SSLCommerz.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 com.ssl.commerz.SSLCommerz.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 Map construction in previous Call to com.ssl.commerz.SSLCommerz.initiateTransaction method.

  6. User should extract all query parameters returned in his Success Page and pass those query parameters as key value pair Map into this method: com.ssl.commerz.TransactionResponseValidator.receiveSuccessResponse This will validate those query parameters returned by payment success redirect, and return true if successful transaction and false otherwise.

In case of false, user should check status in that first returned response.

Note: In test environment or Sandbox, if you want to change the default store id and store password, you have to set the new store id and store password in page SSLCommerz.java file at Line number:66 also.

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

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

  1. Transaction is showing successful in SSLCOMMERZ Panel (https://report.sslcommerz.com)
  2. Transaction details are same in SSLCOMMERZ Panel (https://report.sslcommerz.com) and Customer site admin Panel.
  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).

About

SSLCOMMERZ is a bangladeshi payment gateway provider. This is Java module for SSLCOMMERZ.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages