Please help me estimate development time for payment gateway module

Posts: 33
Joined: 01/30/2008

Hi,

I've contacted a payment service in my country who agreed to sponsor a payment gateway module that will work with ubercart.

They asked me to estimate the number of hours required to develop this module.

I know it is a strange request but could you please give me a rough estimate for someone with medium drupal and ubercart skills?

Rayn said that it is similar to PayPal Express Checkout:http://www.ubercart.org/forum/support/3132/help_new_payment_gateway

The payment work flow description:

1. A button on my website should direct the user to the service "authentication page"
https//www.service.com/PO/POLogin.aspx

with the parameters:
PaId - My business id code
OdId - the current deal id code

example:
https//www.service.com/PO/POLogin.aspx?paId=DMBG-T534-4784AAF&Odid=12345

2. The service will direct the user back to my website to a predefined address

OpDesc - define the requested operation. In this case request for deal info.

example:
http://www.MyShop.co.il/getDetailes.php?PaId=DMBFG-T34-4784-AAF&OdId=123...

3. MyShop should confirm OdId and PaId and reply with an xml:

<?xml version="1.0" encoding="windows-1255"?>

OrderId - MyShop generated order Id
OrderDesc - Text describing the deal
OrderTotal - Total sum
NumMaxPayments - maximum payments
JumpToOnSuccess_URL - A URL page on MYShop
IsTest - Set to 1 for testing

4. The service will replay with something like this:
http://www.MyShop.co.il/confirmation.php?PaId=hjgdk-jhgjjmhn-mnvnmmbvnv&
OdId=12345&OrderId=3443&OpDesc=ReqStatus&Status=success&ReferenceId=12
311142&NumOfPayments=30&CCName= %20&CC4Digs=1234

5. MyShop returns:
<?xml version="1.0" encoding="windows-1255"?>

Thanks

Posts: 4747
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Depending on the complexity it could vary anywhere from 10-40 hours. It's hard to say. I think you'd do well to estimate 20-25 hours for all development, testing, and publishing.