Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create payment gateway for an online transaction? [closed]

In my web application there is an online transaction system for online reservation. I have no idea about how to implement this, i.e when an end user wants to do reservation, a form has to open showing different banks, by selecting bank, user will be allowed to enter his/her card credentials and I have to send this to third party payment gateway vendor and has to receive information from that party regarding the transaction status.

How can we send and receive data from third party or is their is any way that we could eliminate the third party from transaction ?

Please help ! Thanks in advance.

like image 249
Lokesh Avatar asked Jun 22 '10 06:06

Lokesh


People also ask

What is offline payment gateway?

Offline payments are transactions processed asynchronously. The transaction is usually done offline and reconciled manually or automatically to the console. Typically, there is a delay in paying offline and reconciling it, compared to online payments where everything happens real-time.

Can you have 2 payment gateways?

Using multiple payment gateways allows you to offer support for the variety of payment methods, while enabling customers to pay in their preferred currency. It makes your business flexible and scalable. It is also highly beneficial for growing businesses expanding globally.

What is the difference between a payment processor and a payment gateway?

A payment gateway is a place on a merchant's website where customers securely enter credit card information. A payment gateway also verifies that a customer's card is legitimate. A payment processor transmits card data from a merchant's point-of-sale system to card networks and banks involved in the transaction.


1 Answers

Developing your own payment gateway is slightly complicated and comes with lots of compliance issues. So, assume for the time being this is not an option. Now, there are various payment gateways available in market you can choose the one which fits your requirements. The parameter of appropriate selection could be transaction currency, country, transaction fee, withdraw charges, fraud detection and mitigation system, charge back transaction charges, ease of integration etc. About integrating a gateway, there are two types of integration possible

  • Form based
  • API based

The need you mentioned fall under the category of API based gateway.

Form based gateway is the one which, in which user is redirected to the gateway provider site and there user enters credit card and other details, once payment confirmed gateway provider notifies back through various means like HTTP call back etc.

API based is the one in which you display your own form at your website. Gateway provider provides an integration API kit to make a call to the gateway. Capture all the details like cc details etc at your end and pass all the details to the gateway provider by calling the API integrated.

As far as efforts are concern, form based gateways are easier to integrate. I would suggest you to go ahead with form based gateways. This way you dont need to put much effort of programming.

If you are using Ruby, probably check http://www.activemerchant.org/

List of pre-integrated gateways available in active merchant: http://activemerchant.rubyforge.org/

Hope this would help!!!

like image 127
Amit Goyal Avatar answered Nov 15 '22 19:11

Amit Goyal