Home  ›  Tutorials  ›  Adding new Payment Gateway to Wroupon Script :Groupon Clone

Adding new Payment Gateway to Wroupon Script :Groupon Clone

Wroupon supports integration with most of payment gateways.

 

Since there are 100’s of gateways used all over the world, We are providing guidelines over how to add new gateway.

 

You need to follow these steps

Assuming Your Gateway name is abcgateway

1.

Create a folder like abcgateway
order/abcgateway

Add Your gateway files in this folder .

So it looks like

order/abcgateway/return.php

order/abcgateway/ipn.php etc..

2.

Create a Block template like

Can copy code from include/template/block_pay_paypal.html

Name it like

include/template/block_pay_abcgateway.html

3
Edit Following Files and add corresponding gateway code into them
ajax/manage.php
biz/down.php
include/db/db.sql
include/function/configure.php
include/function/pay.php
include/function/utility.php
include/template/block_pay_paypal.html
include/template/credit_charge.html
include/template/manage_market_downorder.html
include/template/manage_system_pay.html
include/template/order_check.html
order/paybank.php

 

Check for paypal code as reference in above files.

You can also suggest us a gateway to add in future releases.

 


Help us improve the wiki Send Your Comments