如何通过卡处理付款?

发布于 2024-11-15 13:06:25 字数 1436 浏览 3 评论 0原文

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

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

发布评论

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

评论(6

鹤舞 2024-11-22 13:06:25

您需要第三方公司来处理付款。 PayPal 很受欢迎,FDMS 也很受欢迎,或者与您的银行联系,看看他们提供什么解决方案。通常这些都会附带 API 文档或一些代码库来帮助您入门。

请务必了解商家的 PCI-DSS 安全要求。它们可以使您的项目比您用代码解决的更加复杂。 =)

You need a third party company to process the payments. PayPal is popular, FDMS, or talk to your bank to see what solutions they offer. Usually these come with an API document or some code libraries to help you start.

And be sure to be aware of PCI-DSS security requirements for merchants. They can make your project more complex than you can solve with code. =)

蓝咒 2024-11-22 13:06:25

braintree 是一种流行的支付服务,可以为您处理大量此类工作。

查看他们的文档,特别是支付新功能.NET API

braintree is a popular payment service that handles a lot of this work for you.

Check out their docs, specifically, New to payments and the .NET api.

痴骨ら 2024-11-22 13:06:25

您需要记住的最重要的事情是永远不要存储他们的任何信息,除非您绝对需要它(预订或类似的东西)。在我的工作案例中,我们使用第三方系统 Touchnet 来处理所有信用卡处理。

我们的定制应用程序会在将用户转发到信用卡门户之前将金额和特殊交易号记录在数据库中。用户完成交易(通过取消或付款)后,第三方会使用自定义交易编号和付款参考编号联系我们的网络服务。此时,我们的 Web 服务会在数据库中找到该交易,并对其进行适当标记,并设置参考号(如果提供了参考号)。

我们的财务部门负责核对交易并确保我们得到报酬。 (我从来没有见过那部分,所以我不能说它是如何工作的......)

通过使用第三方来处理交易,一些 PCI-DSS 合规性得到了照顾,我们可以如实告诉我们的用户我们从不存储他们的信用卡信息。

The most important thing you need to remember is to never store any of their information unless you absolutely need it (pre-orders or something like that). In my work's case, we use a third-party system, Touchnet, to handle all of the credit card processing.

Our custom applications record the amount and a special transaction number in a database before forwarding the user on to the credit card portal. After the user completes the transaction (by cancelling or paying) the third-party contacts our web service with the custom transaction number and the reference number of the payment. At this point our web service finds the transaction in the database and marks it appropriately and sets the reference number if one was provided.

Our finance department takes care of reconciling the transactions and makes sure we get paid. (I've never seen that part so I can't say how it works...)

By using a third-party to process transactions, some of the PCI-DSS compliance is taken care of, and we can truthfully tell our users that we never store their credit card information.

星星的轨迹 2024-11-22 13:06:25

全面披露:我在 PayJunction 工作,该公司托管我提供的链接:

http://support.payjunction.com/trinity/support/view.action?knowledgeBase.knbKnowledgeBaseId=431

在上面的链接中,您会发现一些 C#通过 PayJunction 进行信用卡交易的示例代码。我们充当 PCI 合规盾牌(我们的商业协议规定您绝不会存储卡信息以及一些使您处于 PCI 范围之外的其他信息)。

您可能还想考虑通过 PayPal。尽管 PayPal 收取的费用较高,但人们还是认可 PayPal 品牌的。 PayPal 还可以保护您免受 PCI 合规性的影响。

如果您正在使用 Rails,我会建议 ActiveMerchant(我总是建议 ActiveMerchant)。他们在抽象一堆网关方面做得很好。不知道 C# 的等效项。

Full disclosure: I work for PayJunction, the company hosting the link I am providing:

http://support.payjunction.com/trinity/support/view.action?knowledgeBase.knbKnowledgeBaseId=431

At the above link, you will find some C# sample code for doing credit card transactions through PayJunction. We act as a PCI compliance shield (our merchant agreement stipulates that you never store card information and some additional things that place you outside the scope of PCI).

You might also want to take a look at going through PayPal. Even though they charge a heftier fee, people recognize the PayPal brand. PayPal also shields you from PCI compliance.

If you were doing Rails, I would suggest ActiveMerchant (I always suggest ActiveMerchant). They do a good job of abstracting a bunch of gateways. Don't know of an equivalent for C#.

短暂陪伴 2024-11-22 13:06:25

啊,办理信用卡真是一件痛苦的事!处理付款时请注意 PCI 要求。我曾经在 Mercury 支付系统工作。他们有大量可供集成的 API。这里是开发人员集成页面:

http://www.mercurypay.com/developer-securitysolutions.htm< /a>

祝你好运!

ah, handling credit cards are a pain! Watch out for the PCI requirements when dealing with payments. I used to work for Mercury payment systems. they have a wide range of API's you can integrate to. here is there developer integration page:

http://www.mercurypay.com/developer-securitysolutions.htm

good luck!

毁梦 2024-11-22 13:06:25

我记得 10 年前在电子商务方面做的第一件事就是构建自己的购物车(不必要)然后我研究了网关和商家。很多时候他们是分开的。例如:Verisign 是一个网关,这很重要,因为他们为您提供了您需要学习和构建的 API。我从我自己的开始,然后转向免费的 oscommerce,但在我看来,PHP 代码很难用于操作。我过去常常贡献免费的东西。我使用了一些网关和一些商人。商人就是银行。我不喜欢美国银行,但他们既有网关,又是商人,因为他们是终端银行。有时一站式服务也不错。对于 ASP.NET/C# 解决方案,我不记得有任何我喜欢的免费或开源解决方案。因此,对于 .NET,我会购买一台,或者您的托管提供商可能也有一台。

First thing I recall doing 10 years ago with E-Commerce was building my own shopping cart (Not necessary) Then I researched both GATEWAYS and MERCHANTS. Many times they are separate. For example: Verisign is a GATEWAY , this is important as they are providing YOU with the API that you need to learn and build with. I started out with with my own, and moved onto oscommerce which is free but IMO the PHP code is just awful to work with for manipulation. I use to contribute free things. I used a few gateways and a few merchants with them. Merchants are the banks. Bank of America I'm not a fan of , but they have both a gateway and they are a merchant as they are the end bank. Sometimes a one stop shop is nice. For a ASP.NET/C# solution I'm not recalling any free or open-source ones that I liked. So for .NET, I would purchase one or perhaps your hosting provider has one.

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