|
ddb186af1b369c23dae8102ed88d26f1
|
Integrate with SecurePayTech (NZ credit card gateway)by Jasper Bryant-Greene - Member - 06:32AM, Oct 07, 2007 |
|
I’m a Shopify user based in New Zealand, and I’ve recently set my father’s business up on Shopify too. We both use SecurePayTech for processing credit cards – a New Zealand-based gateway. There’s a bunch of other people that I’d refer to Shopify too, but currently it has no support for this gateway, which is pretty popular in NZ. SecurePayTech’s documentation is public, and the API’s a pretty simple SOAP one: http://www.securepaytech.com/developers/documentation/SPT-Developer-Documentation.pdf Is there any chance integration with this could be written? I could potentially do it myself, as I’m reasonably experienced with Ruby, but last time I looked I couldn’t find any documentation for Shopify’s payment gateway API at all. Given that there’s already two stores wanting to use it, and I will refer at least two more once it’s available as a gateway, it could be worth your time anyway :) Thanks, Last edited 06:33AM, Oct 07, 2007 |
|
|
http://www.activemerchant.org/
|
|
|
Yep, I know that’s the home of Shopify’s payment gateway code. But there’s (as far as I can see) zero documentation on writing new gateway classes. All the documentation is centred on using ActiveMerchant, rather than on extending it. I can probably work from an example; does anyone know if any of the currently implemented gateways use SOAP? This could be interesting as I’ve generally found SOAP client support in Ruby to be terrible.
|
|
|
One SecurePayTech class for Active Merchant below. I based this on the HttpsPostPurchase interface rather than SOAP, and it only supports purchase currently.
|
|
|
Nice work. Can you create a patch as described in the contribution guide, preferably with some tests :) — Last edited 02:04AM, Oct 15, 2007 |
|
|
I’ve created a patch, including tests, and posted it to your bug tracker as issue #77.
|
|
|
awesome Jasper! ---
Tobias Lütke
|
|
|
Jasper, SecurePayTech is now available in Shopify. Great job on the gateway.
|
danW
Shopify Advisor
02:26AM, Oct 08, 2007