Grails 的支付 API

发布于 2024-09-03 20:24:55 字数 128 浏览 6 评论 0原文

Grails 有支付 API 吗?我正在寻找能够抽象我的网站付款接收的东西。

我主要希望使用 Paypal 和 Google Checkout - 据我所知,这些是最常用的在线支付服务。对任何其他服务的支持将是一个额外的好处。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

甜味超标? 2024-09-10 20:24:55

有一个 PayPal 插件

http://grails.org/Paypal+Plugin

我自己没用过.. 。

There's a PayPal plugin

http://grails.org/Paypal+Plugin

Not used it myself though...

瀟灑尐姊 2024-09-10 20:24:55

Grails Stripe 插件 可能值得一看。它不与 PayPal 和 Google Checkout 打交道,但允许直接信用卡付款。

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

真心难拥有 2024-09-10 20:24:55

看起来支付提供商的聚合并不常见,并且没有 Grails 库可以执行此操作。

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

甜心小果奶 2024-09-10 20:24:55

回应艾莉森对我尖刻评论的问题(抱歉):

搜索“paypal恐怖故事”之类的东西,看看栅栏两边(商家和消费者)的肮脏行为。作为最终用户,我在使用我的商业信用卡时总是遇到问题。相反,请尝试类似 http://authorize.nethttp://www.braintree paymentsolutions.com/,或 http://www.zuora.com/index.html。所有这些都有特定于语言的库来帮助您。

我认为您不会找到一个抽象出多个网关的库。我没有见过任何人,他们做事的方式都有点不同,这会让事情变得困难。无论如何,从他们提供的库中编写或定制的代码并不多。

就我个人而言,我会选择authorize.net 来满足我的需求。您直接与支付网关打交道,而不是与 paypal、braintree 或 zuora 等第三方打交道。请记住,您和银行之间的人越多,您保留的钱就越少。

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.

Groovy 的一个很棒的功能是您可以插入 Java 类,并且它们可以开箱即用。 Grails 还为您提供了与普通 Spring bean 集成的选项(简单地说),这样您就可以用 Java 编写重要的代码。当然,Java 中有支付网关。

我的公司使用 Paypal 和 Beanstream 作为支付网关,目前似乎可以使用。 ...

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....

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文