SSLCOMMERZ
SSLCOMMERZ is the largest payment gateway aggregator in Bangladesh. In PickBazar we have integrated SSLCOMMERZ APIs which may cover a vast area of SSLCOMMERZ supported region. It will help your business to grow and reach to a wide region.
SSLCOMMERZ integrate inside PickBazar.
Please follow & complete this steps for SSLCOMMERZ integration for your e-commerce system.
- Inside api there is
.env
file. You have to copy & paste this line of codes inside the.env
file. We will discuss later about how to create those API keys in SSLCOMMERZ.
SHOP_URL=[YOUR_SHOP_URL]# Values: true or false (Default: true)SSLC_ALLOW_LOCALHOST=true# SSLCOMMERZ Setting & API CredentialsSSLC_STORE_ID=[YOUR_SSLCOMMERZ_STORE_ID]SSLC_STORE_PASSWORD=[YOUR_SSLCOMMERZ_STORE_PASSWORD]
SHOP_URL=[YOUR_SHOP_URL] This parameter is must have in .env file when SSLCOMMERZ is using. Otherwise the payment redirection will be broken.
Package usaged Inside PickBazar SSLCOMMERZ-Package
- To activate SSL-Commerz go to settings from PickBazar admin dashboard. Inside settings you will find configure payment option. (e.g. webhook URL is coming from local development. This static link will dynamically generated in live environment)
How to create & setup SSLCOMMERZ information properly?
- For local Create an account in https://developer.sslcommerz.com/registration/
- For going live Create an account in https://signup.sslcommerz.com/register
- After successfully creating your sslcommerz account you will get your
SSLC_STORE_ID
andSSLC_STORE_PASSWORD
through email.
- You will find the IPN setting under
My Stores
.
Then Add the IPN notification if you want to up & running the services.
- VALID : A successful transaction.
- FAILED : Transaction is declined by customer's Issuer Bank.
- CANCELLED : Transaction is cancelled by the customer.
- UNATTEMPTED : Customer did not choose to pay any channel.
- EXPIRED : Payment Timeout.
At last, For going live with your application please follow this official documentation. https://developer.sslcommerz.com/doc/v4/#grab-the-notification
For any kind of further customization you can also can see this documentation https://github.com/dgvai/laravel-sslcommerz