如何在应用程序内计费

发布于 2024-09-10 17:19:21 字数 249 浏览 4 评论 0原文

我从事编程多年,也做过一些专业的编程项目。最近,我有一个朋友询问如何创建一个电子商务网站,但我不得不拒绝她,因为我从未开发过可以计费的网络应用程序。将来我可能还需要编写一个基于订阅的 Web 服务。我的问题是,我该如何开始计费?我从来没有找到过关于这方面的指南,而且我几乎不知道银行账户是如何运作的,因为我不管理自己的银行账户(我有一个借口,因为我只有 16 岁)。

我不知道答案是否与语言有关,但如果是的话,我感兴趣的语言是 Python、C/C++ 和 Java。

I've been programming for years, and I've also done a few professional programming projects. I recently had a friend ask about creating an e-commerce site, but I had to turn her down because I had never worked on a web application that can bill. I also might need to write a subscription-based web service in the future. My question is, how do I even get started with billing? I've never found a guide about this, and I barely know how bank accounts work since I don't manage my own one (I have an excuse for this since I'm only 16).

I don't know if the answer is language dependent, but if it is the languages I'm interested in are Python, C/C++, and Java.

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

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

发布评论

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

评论(3

梦里泪两行 2024-09-17 17:19:22

建立电子商务网站的方法有很多;

如果您没有任何经验,并且不想参与任何“复杂”的事情,我建议您使用由其他人托管的可定制网络“店面”,预先集成信用卡处理等。网上有很多这些选项。只需在谷歌中搜索“网络店面”即可。雅虎!甚至有这样的服务:

http://smallbusiness.yahoo.com/ecommerce/sellonline.php< /a>

除此之外,与 PayPal 等公司集成非常容易。他们有从最基本的各种选项(使用链接将某人发送到带有查询字符串参数的网站,让 PayPal 知道用户想要购买什么):

https://cms.paypal.com/us/cgi-bin/?&cmd= _render-content&content_ID=developer/home

超过该级别,您将需要注册商家帐户或其他类似的服务,例如authorize.net(我喜欢的)提供的服务:

http://www.authorize.net/

您可以为大多数主要 Web 开发平台(例如 .NET)购买组件、JSP 等。完美的例子是 dotnetcart。这些组件提供开箱即用、易于设置的与主要 CC 处理公司的集成,以及开箱即用的购物车实现:

http://www.dotnetcart.com/

最后,大多数商家服务/支付网关都提供用于直接集成的 Web 服务。

PS.) 永远不要存储 CC 号码; )

There are lots of ways to go about setting up e-commerce sites;

If you don't have any experience whatsoever, and don't want to get into anything "complicated", i would suggest going with a customizable web "storefront" hosted by someone else, pre-integrated with credit card processing, etc. There are tons of options for these online. Just search google for "web storefront". Yahoo! even has such a service:

http://smallbusiness.yahoo.com/ecommerce/sellonline.php

Going beyond that, It's pretty easy to integrate with someone like PayPal. They have all sorts of options from the most basic (use a link to send someone to their site with query string parameters to let paypal know what the user wanted to buy):

https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/home

Beyond that level, you will need to signup for a merchant account, or other similar sort of service, like the one offered by authorize.net (who I like):

http://www.authorize.net/

There are components you can buy for most major web development platforms like .NET, JSP, etc. Perfect example is dotnetcart. These components provide out-of-the-box, easy-to-setup integrations with major CC processing companies, as well as out-of-the-box shopping cart implementations:

http://www.dotnetcart.com/

Finally, most merchant services / payment gateways provide web services for direct integration.

PS.) Never ever ever store CC numbers ; )

旧伤还要旧人安 2024-09-17 17:19:22

我会查看 paypal 的 api 来开始。您可能不想坚持使用它们,但这是了解如何处理信用卡清算所等的一个很好的起点。

开始吧。

I would look at paypal's api to get started. You might not want to stick with them but it is a good starting place to learn about dealing with credit card clearing houses and such.

Here ya go.

云醉月微眠 2024-09-17 17:19:22

您通常会与第三方进行交互以进行银行交易。我过去使用过的一个是 Authorize.Net,但是那里有很多(PayPal 是另一个相当流行的,具有不错的 API)。

基本上,最好的方法是尽可能少,并让第三方处理所有“困难”的事情(例如安全、管理信用卡详细信息等)。

You'll typically interface with a 3rd-party for doing banking transactions. One that I've work with in the past is Authorize.Net but there's plenty out there (PayPal is another fairly popular one with a decent API).

Basically, the best approach is to do as little as possible and let the 3rd party handle all the "hard" stuff (such as security, managing credit card details and so on).

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