paypal - 我应该为 PayPal 沙盒使用什么用户名/密码/签名?

标签 paypal paypal-sandbox

我正在尝试使用 Paypal NVP API 对交易进行退款。我在沙盒帐户中收到了一些付款,但是当我尝试通过 API 发出退款时,我得到了You do not have permissions to make this API call。但我不确定我应该使用什么凭据。

根据 the documentation ,它说:

To access the PayPal API, you need API credentials, either an API signature or API certificate, that identify you. Use the following sample API signature and password in your sample programs that run in the PayPal Sandbox test environment.

API username sdk-three_api1.sdk.com
API password QFZCWN5HZM8VBG7Q
API signature A‑IzJhZZjhg29XQ2qnhapuwxIDzyAZQ92FRP5dqBzVesOkzbdUONzmOU

我尝试为发出退款的沙盒商家帐户生成 API 凭据,但每次尝试时 Paypal 网站都会崩溃。这些是正确的凭据吗?我需要做什么来测试这个?

最佳答案

您的测试帐户没有凭据。

要开始在 Sandbox 中使用支付卡,您必须先创建买家测试帐户并启用店内结账。

登录沙盒后,您会在API 和支付卡凭据菜单中找到该选项 然后单击它您将获得选项创建测试帐户,创建帐户后您将获得 API 用户名、API 密码和签名。

在您的应用程序中使用这些 API 用户名、API 密码和签名。

关于paypal - 我应该为 PayPal 沙盒使用什么用户名/密码/签名?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10033940/

相关文章:

ios - MECL Paypal 转换为 ARC (IOS)

paypal - 通过rest API检索交易ID

iphone - 在应用程序或 Paypal 与 iPhone 应用程序集成

PayPal IPN 和买家地址

asp.net - 实时 Paypal 错误

php - PayPal自适应支付成功功能

paypal - Paypal 自适应支付 API 的问题

Cordova Paypal Plugin 支付成功但未反射(reflect)在 paypal 上

Paypal 支票停止订阅

asp.net-core - .NET Core 的 PayPal SDK 中的支付