EBS Payment Gateway Integration Using PHP

This is another PHP payment gateway integration tutorial, Here I will discuss about integration of EBS (E-Billing Solutions) with PHP.EBS is most popular and widely used payment method for online e-commerce.You can do payment using via fable card, debit cards and Net banking using EBS. The EBS support various bank to allow payment using Net Banking.

This tutorial explained easy steps to integrate EBS payment gateway with PHP.

How to Integrate EBS system

You can easily integrate EBS with merchant website without any deep language knowledge, to integrate EBS payment gateway into your website, you need to have an EBS account, after the successfully registered, they will provide you EBS account id and EBS Key to perform transaction from merchant to EBS. In this tutorial, I have explained easy steps to integrate EBS payment gateway with PHP.

You can check other recommended tutorial of Payment Gateway,

EBS Payment Gateway Integration tutorial have following file structure,

index.php : This file will have HTML form with submit button.
decrypt.php : This file will use to decrypt EBS payment response.
response.php : This file will use to show payment information after decrypt by decrypt.php file.

We will create EBS payment HTML form, We will add some input fields and attached action URL with in Form tag.

We will also adding user information into this form file, to display into response.php file.

After the successfully submitted and payment Done, The EBS returned the response in encrypted form, So we will need to decrypt that EBS payment response.
We will add some code to decrypt response into decrypt.php file, This file will have method to decrypt response.

Now, We will create response file that will show conformation payment information, payment failed information.You can check success/failed payment using EBS payment Response code.