我应该为PayPal沙箱使用什么用户名/密码/签名? [英] What username/password/signature should I be using for the PayPal Sandbox?

查看:163
本文介绍了我应该为PayPal沙箱使用什么用户名/密码/签名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I'm trying to refund transactions using the Paypal NVP API. I've got some payments in a sandbox account, but when I try to issue a refund though the API I get You do not have permissions to make this API call. But I'm not sure what credentials I should be using.

根据文档,它说:

要访问PayPal API,您需要API凭证,或者是API 签名或API证书,可以识别您的身份.使用以下 在其中运行的示例程序中的示例API签名和密码 PayPal Sandbox测试环境.

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 username sdk-three_api1.sdk.com
API password QFZCWN5HZM8VBG7Q
API signature A‑IzJhZZjhg29XQ2qnhapuwxIDzyAZQ92FRP5dqBzVesOkzbdUONzmOU

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

I tried generating API credentials for the sandbox merchant account that's issuing the refunds, but the Paypal website crashes every time I try. Are these the correct credentials? What do I need to do to test this?

推荐答案

您的测试帐户没有凭据.

Your test accounts do not have credentials.

要开始使用沙箱"中的支付卡",您必须首先创建买家测试帐户并启用店内结帐.

To get started with Payment Card in Sandbox, you must first create a buyer test account and enable in-store checkout.

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

After login sandbox you will find that option in menu API and Payment Card Credentials and then click it you will get option Create Test Account and after create account you will get API Username, API Password and Signature.

在应用程序中使用这些API用户名,API密码和签名.

Use those API Username, API Password and Signature in your application.

这篇关于我应该为PayPal沙箱使用什么用户名/密码/签名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆