Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
In this blog, we will learn about SSL Commerz payment gateway integration in android with SDK approach.
A payment gateway is a merchant service provided by an e-commerce application service provider. Which authorizes card or direct payment processing.
If you are planing on the integration of the SSL Commerz payment gateway by using SDK then this blog will help you to do so.
Download SSL Commerz SDK
Adding SSL Commerz SDK
After successfully adding the SDK initialize the payment, SSLCommerzInitialization class of SSL Commerz SDK is used to initialize payment. So you have to call its constructor like:
Inside store Id field add valid store Id and password only because if you pass invalid key here payment UI will not initialize.
It’s time to handle the payment callback. For this, implement the listener as :
For any error, success, and failure, we have to override the following method of implemented interface inside our activity. which will help you to handle the success and failure result.
Here p0 is the SSLCTransactionInfoModel object from which you can get the payment details like:
In this blog, you have learned about the implementation of the SSL Commerz payment gateway integration by using SDK.
For more documentation regarding the SSL Commerz payment gateway follow the link
Thanks for reading this blog. You can also check other blogs from here.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
It was a successful collaboration. The Mobikul team provided the client everything they needed in a timely and high-quality manner. They were very professional, reliable, and accessible during the entire process. The client also saw no room for any improvements in the vendor's performance.
Vincenzo Carrano
Administrator, Segshop
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.