Paypal 与 Java 的集成

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6530875/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 16:13:28  来源:igfitidea点击:

Paypal integration with java

javapaypalpayment-gateway

提问by Ranjith

i want to know how to integrate paypal payment gateway with java. I need steps or sample code

我想知道如何将 paypal 支付网关与 java 集成。我需要步骤或示例代码

回答by Robert

There's a complete Java SDK for the Classic API's as well as the new REST API's at http://paypal.github.io/

http://paypal.github.io/ 上有一个完整的 Java SDK 用于 Classic API 以及新的 REST API

Additionally, "paypal payment gateway" doesn't exist.
PayPal is the company, and Website Payments Standard, Express Checkout, Website Payments Pro, Adaptive Payments, Express Checkout for Digital Goods, Payflow Link and Payflow Pro are their products.
Which product are you trying to use?

此外,“paypal 支付网关”不存在。
PayPal 是公司,网站支付标准版、快速结账、网站支付专业版、自适应支付、数字商品快速结账、Payflow Link 和 Payflow Pro 是他们的产品。
您要使用哪种产品?

回答by gmhk

check out the Integration Guide PDF to get you started. Also helpful is Name-Value Pair API (the easiest way to use their API's), the sample code, and the Sandbox User's Guide for testing. link

查看集成指南 PDF 以帮助您入门。同样有用的是名称-值对 API(使用其 API 的最简单方法)、示例代码和用于测试的沙盒用户指南。 关联

回答by Ravi Kant

We can do paypal transaction with many way's .Here is the sample example of Express Checkout.

我们可以通过多种方式进行贝宝交易。这是快速结账的示例。

Express Checkout Paypal

快速结帐贝宝