Custom Payment Gateway/API

Posts: 30
Joined: 01/30/2008

Hello everyone,
How would our on-site coder go about making a custom gateway to interface with a credit card processing provider? Would we simply just copy the Test Gateway and go from there? Would this gateway work with uc_recurring?

Thanks!

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

Check out these docs:

http://www.ubercart.org/docs/api/hook_payment_gateway

And maybe look at uc_authorizenet.module instead. It will have a working example to base your stuff off of. You'll have to implement code to make it work with the recurring payments framework. This is done w/ hook_recurring_fee() which unfortunately hasn't been documented yet.