本文介绍了在Java应用程序中接受Visa和MasterCard付款的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是这个主题的新手,所以我不知道我需要在Java应用程序中使用Visa和Master Card等信用卡来接受付款。
也请给我我应该用Java编写的代码来完成此任务。

I am new to this topic, so I don't know what I need to accept payments using credit cards like visa and master card in my java application.Please also give me the code I should write in java to fulfill this task.

推荐答案

您正在寻找的内容for是类似于Stripe的付款处理器API。请在此处查看Stripe的API文档:

What you're looking for is a payment processor API like Stripe. See Stripe's API documentation here: https://stripe.com/docs

给我我应该用Java编写的代码是一个比您似乎意识到的要大得多的请求。这就像要求建筑师在您甚至不知道应该有多少间房间的情况下,为您提供有关设计和建造房屋的详细说明。也就是说,Stripe的文档提供了几乎所有操作的示例-如果您一开始对Java有一定的了解,那么使用Stripe API就不会有问题。

"Give me the code I should write in Java" is a much, much bigger request than you seem to realize. That's like asking an architect to give you detailed instructions for designing and building a house when you don't even know how many rooms it should have. That said, Stripe's documentation provides examples for pretty much every operation - if you have any understanding of Java to start with, you should have no problem consuming the Stripe API.

附带说明,如果您最终将任何信用卡信息存储在服务器上,则必须遵守PCI标准:

As a side note, if you wind up storing any credit card information on your server, you are required to adhere to PCI standards: https://www.pcisecuritystandards.org/hardware_software/

作为第二点,您在遵守PCI或您的安全性方面的任何失败应用程序使您对任何数据盗窃和/或由此引起的欺诈负责。即使您坚持使用PCI,应用程序中的其他安全问题也可能使攻击者窃取客户的敏感信用卡数据。在决定如何接受信用卡付款时,请仔细考虑。使用像这样的嵌入式集成可以使您免于承担这些责任,因为Stripe会处理所有实际的功劳卡数据。

As a second side note, any failure on your part in adherence to PCI or security of your application makes you responsible for any data theft and/or resulting fraud. Even if you adhere to PCI, other security issues in your application can allow attackers to steal your customers' sensitive credit card data. Consider carefully when deciding how to accept credit card payments. Using an embedded integration like Stripe's embedded Checkout insulates you from these responsibilities because Stripe handles all of the actual credit card data.

这篇关于在Java应用程序中接受Visa和MasterCard付款的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 00:34