授权信用卡进行点播订阅并收取费用

发布于 2024-08-06 02:19:25 字数 249 浏览 5 评论 0原文

我正在使用 asp.net MVC 和 C# 开发电子商务应用程序。

我需要授权使用信用卡注册该应用程序的用户。

1)。当用户注册时,我需要获取信用卡详细信息并通过 Paypal 或 Authorize.net 授权该卡,而不保存除订阅 ID 或授权码之外的信用卡详细信息。

2)。每当用户购买产品时,我都需要使用注册时提供的详细信息向卡收费。

有 Paypal 和 Authorize.net 的示例代码吗?请建议

I am working on e-commerce application using asp.net MVC with C#.

I need to authorize the users who signs up with the application with the credit card.

1). When the user sign up, i need to get the credit card details and authorize the card by either Paypal or Authorize.net without saving the credit card details except subscription id or authorization code.

2). And whenever the user buys a product, i need to charge the card with the details given during registration.

Is there any sample code for Paypal and Authorize.net. please suggest

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

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

发布评论

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

评论(1

无人问我粥可暖 2024-08-13 02:19:25

Paypal 和 Authorize.net 站点都有大量编码示例,其中至少包括一个 C#/ASP.NET 示例。访问 PayPalAuthorize.net 并转到任一开发人员中心。 (前一句中的两个链接都指向指定提供商的开发人员中心。)

在我工作的地方,我们为客户创建了许多电子商务网站,而 Authorize.net 是我们信用卡处理的事实上的标准。使用它们的一个显着优势是您无需存储甚至无需知道客户的第一手信用卡信息。这是一件非常好的事情,因为它有助于保护您和您的客户免受因数据泄露而导致的潜在法律风险。 (警告:我不是律师,这不是法律建议。)

Both the Paypal and Authorize.net sites have plenty of coding examples, including at least one C#/ASP.NET example. Visit PayPal or Authorize.net and go to either's developer center. (Both links in the prior sentence point to the indicated provider's developer center.)

Where I work, we've created many e-commerce websites for clients, and Authorize.net is our de facto standard for credit card processing. One solid advantage to using them is that you never have to store -- or even know -- a customer's credit card information firsthand. This is a very good thing as it helps protect you and your client from potential legal exposure due to data compromise. (Caveat: I am not a lawyer and this is not legal advice.)

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