Payment API for Grails
Asked Answered
C

6

11

Are there any payment APIs for Grails? I'm looking for something that will abstract receiving of payments for my website.

Primarily, I'm looking to hit Paypal and Google Checkout - as far as I know these are the most used online payment services. Support for any other services would be a bonus.

Congreve answered 2/6, 2010 at 12:5 Comment(2)
Do yourself and your customers a favor. Don't use paypal.Landers
@Landers thanks for the tip. Any particular reason, or alternative suggestions? If I have a nice library that allows many payment options, then my customers and myself will have a degree of choice in the matter.Congreve
C
1

It looks like aggregation of payment providers is not commonly done, and there are no Grails libraries for doing this.

Congreve answered 15/7, 2010 at 15:14 Comment(0)
G
4

There's a PayPal plugin

http://grails.org/Paypal+Plugin

Not used it myself though...

Gomel answered 2/6, 2010 at 12:55 Comment(1)
I saw that, thanks; I was hoping for a library that abstracts many different providers. Sorry that wasn't clearer.Congreve
C
2

Grails Stripe Plugin might be worth a look. It doesn't deal with PayPal and Google Checkout, but allows direct credit card payments.

Congreve answered 19/11, 2012 at 9:13 Comment(0)
C
1

It looks like aggregation of payment providers is not commonly done, and there are no Grails libraries for doing this.

Congreve answered 15/7, 2010 at 15:14 Comment(0)
J
1

Google Checkout plugin for Grails coming up very soon: http://geeks.aretotally.in/mind/2010/8/23/google-checkout-grails-plugin.html http://code.google.com/p/grails-google-checkout/

Jhelum answered 24/8, 2010 at 6:8 Comment(0)
L
0

In response Alison's question on my snarky comment (sorry):

Do a search on something like "paypal horror stories" for nastiness on both sides of the fence (merchant and consumer). As an end user, I always have problem using my business credit cards with them. Instead, try something like http://authorize.net, http://www.braintreepaymentsolutions.com/, or http://www.zuora.com/index.html. All of these have language specific libraries to help you.

I don't think you will find a library that abstracts away multiple gateway. I haven't seen any and they all do things just a bit differently that it would make things difficult. Regardless, it isn't that much code to write or customize from their provided libraries.

Personally, I go with authorize.net for my needs. You are dealing directly with the payment gateway instead of a third party like paypal, braintree, or zuora. Just remember, the more people between you and the bank, the less money you get to keep.

Landers answered 4/6, 2010 at 18:20 Comment(0)
C
0

A wonderful feature about Groovy is that you can plug in your Java classes and they'll work out of the box. Grails also gives you the option of integrating with plain Spring beans (to put it lightly), so you can write important code in Java. There are, of course, payment gateways in Java.

My company uses Paypal and Beanstream as payment gateways, and it seems to work at the moment....

Collaborative answered 6/1, 2012 at 0:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.