I need someone to write a controller in Ruby that integrates the SecurePay API. Preferably using ActiveMerchant
The controller must use PreAuthorisation for credit cards and take payments on a pre authorised card.
The SecurePay gateway API can be found at - http://www.securepay.com.au/uploads/Integration%20Guides/Secure_XML_API_Integration_Guide.pdf
ActiveMerchant can be found at - http://activemerchant.org/
All we need is someone to define to methods
1) That stores a preauthorised card with SecurePay
2) That performs a charge on the stored card using the authorisation id supplied by securepay from the PreAuthorisation api