here's the code: http://pastie.org/868627
On Mar 13, 11:31 pm, Brian Quinn <br...@railsdog.com> wrote:
> Yeah I forgot that the Braintree ext was created before the new
> PaymentMethod stuff, so it'll probably not work, my bad.
>
> There's no rake task to run, once your class inherits from the Gateway base
> and u call the register method that should do it.
>
> Can you post your code and I'll take a look?
>
> On 13 March 2010 03:05, jeremy nagel <jeremymna...@gmail.com> wrote:
>
>
>
> > 1. It's not supported by ActiveMerchant. I wrote a spree gateway class
> > based on the 'Bogus' design.
> > 2. The example you gave apparently doesn't work? "This should be a
> > simple extension to add Braintree to Spree. Unfortunately I can't get
> > it to work."
>
> > I added my gateway to the 'gateway_extension' class, which should do
> > the same thing as the extension written for brain-tree (registers it).
>
> > Do I need to run a rake class or something like that?
>
> > On Mar 13, 1:41 am, Brian Quinn <br...@railsdog.com> wrote:
> > > There's a couple of things you need:
>
> > > 1 - Is the gateway you want currently supported by ActiveMerchant? - if
> > not
> > > you'll need to create a patch / override for that.
>
> > > 2 - You need to create a wrapper in Spree to wrap around the
> > ActiveMerchant
> > > gateway, take a look athttp://github.com/goodkarma/spree-braintreeforan
> > > example of how to that.
>
> > > On 12 March 2010 14:25, jeremy nagel <jeremymna...@gmail.com> wrote:
>
> > > > BUMP
>
> > > > Can someone please explain to me how I add my gateway to the list in
> > > > the spree admin panel? It is far from self explanatory:(
>
> > > > On Mar 8, 6:22 pm, jeremy nagel <jeremymna...@gmail.com> wrote:
> > > > > Hi,
> > > > > I'm trying to create a new gateway for a bank in Australia that
> > > > > performs credit card processing. I've come up against a stumbling
> > > > > block: in order to 'capture' the credit card transaction, the bank
> > > > > wants the credit card details again as well as the pre-auth ID. Is
> > > > > there any way to achieve this?
>
> > > > > I'm using Spree Edge and am also finding it a little bit tricky to
> > > > > understand how to add my gateway to the list in the payment methods
> > > > > admin screen. It seems to be hard-coded in but when I added my class
> > > > > to the list in the gateways file, it still didn't appear on the admin
> > > > > screen.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Spree" group.
> > > > To post to this group, send email to spree-user@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > spree-user+unsubscribe@googlegroups.com<spree-user%2Bunsubscribe@googlegroups.com>
> > <spree-user%2Bunsubscribe@googlegroups.com<spree-user%252Bunsubscribe@googlegroups.com>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/spree-user?hl=en.
>
> > > --
> > > Brian Quinn
>
> > > -------------------------------------------
> > > Rails Dog LLC
> > > 2 Wisconsin Circle, Suite 700
> > > Chevy Chase, MD 20815
> > > voice: (301)560-2000
> > > -------------------------------------------
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Spree" group.
> > To post to this group, send email to spree-user@googlegroups.com.
> > To unsubscribe from this group, send email to
> > spree-user+unsubscribe@googlegroups.com<spree-user%2Bunsubscribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/spree-user?hl=en.
>
> --
> Brian Quinn
>
> -------------------------------------------
> Rails Dog LLC
> 2 Wisconsin Circle, Suite 700
> Chevy Chase, MD 20815
> voice: (301)560-2000
> -------------------------------------------
--
You received this message because you are subscribed to the Google Groups "Spree" group.
To post to this group, send email to spree-user@googlegroups.com.
To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.
No comments:
Post a Comment