沙盒上的贝宝直接付款错误 [英] paypal direct payment error on sandbox

查看:93
本文介绍了沙盒上的贝宝直接付款错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想在沙盒上测试直接付款.

I want to test Direct Payment on Sandbox.

根据Paypal

要测试直接付款,您必须首先在启用了Website Payments Pro的沙箱中创建一个测试企业帐户.然后,您可以使用该帐户通过DoDirectPayment API操作来测试信用卡和借记卡付款.

"To test direct payment, you must first create a test business account in the Sandbox that is enabled for Website Payments Pro. You can then use the account to test credit and debit card payments using the DoDirectPayment API operation.

然后,您可以从沙盒中存在的卡中模拟借记卡或信用卡付款.此示例说明如何使用cURL模拟DoDirectPayment API操作,以提供NVP请求值并调用DoDirectPayment.

You can then simulate debit or credit card payments from cards that exist in the Sandbox. This example shows how to simulate a DoDirectPayment API operation using cURL to supply the NVP request values and to call DoDirectPayment.

要在沙盒中测试直接付款,必须首先确保沙盒测试帐户已与信用卡关联并启用了Website Payments Pro."

To test Direct Payment in the Sandbox, you must first ensure that the Sandbox test account is associated with a credit card and enabled for Website Payments Pro."

我创建了一个帐户,但是我不知道如何启用它?
我不知道如何将信用卡与此帐户关联.
我读到您有一张信用卡信息清单,可用于测试目的.

I created an account,but I do not know how to enable it?
I don't know how to associate a credit card to this account.
I read that you have a list of credit card information which you can use for testing purposes.

http://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm

我有一个调用PayPal API的函数,但得到此响应.
我使用了上面链接中的信用卡号值.

I have a function which calls the PayPal API but I get this response.
I used credit card number values from the link above.

TIMESTAMP-----2012%2d01%2d05T15%3a03%3a59Z
CORRELATIONID-----3aa27e27f0b91
ACK-----Failure
VERSION-----51%2e0
BUILD-----2278658
L_ERRORCODE0-----10001
L_SHORTMESSAGE0-----Internal%20Error
L_LONGMESSAGE0-----The%20transaction%20could%20not%20be%20loaded
L_SEVERITYCODE0-----Error
AMT-----200%2e00
CURRENCYCODE-----USD
DoDirectPayment failed: 

我在Sandbox上成功使用了Express Checkout,所以对PayPal有了一些了解 NVP API.

I used Express Checkout on Sandbox with success,so I have some idea about the PayPal NVP api.

  • 有人能指出我正确的方向吗?
  • 基本上我不知道如何启用/激活我的WPP帐户?
  • 如何将信用卡关联到WPP帐户?
  • 还是我只使用信用卡号并在上面的链接中输入?
  • 如果是,那么CVV2以及其余的信息(例如first_name,last_name billing_address等)是什么?

推荐答案

请勿使用测试卡号;它们适用于Payflow Pro.
使用遵循Luhn算法的任何Visa卡号,有效期和CVV码(但最好是中性"的东西,例如000).

Don't use the test card numbers; they're for Payflow Pro.
Use any Visa card number adhering the Luhn algorithm, with any expiry date and any CVV code (but preferably something 'neutral', such as 000).

例如 签证16位数

4539644852839411
4916985889534399
4532097446064367
4485179022551897
4539900745341886
4024007169148268
4024007136243697
4916509257154174
4916407734970124
4929371306022430
4485211356602036
4916165218627327
4716027688991769
4929468741933781
4485270162834753
4916077487725650
4916623903076903
4539664564248123
4725765424431181
4024007194632823

4539644852839411
4916985889534399
4532097446064367
4485179022551897
4539900745341886
4024007169148268
4024007136243697
4916509257154174
4916407734970124
4929371306022430
4485211356602036
4916165218627327
4716027688991769
4929468741933781
4485270162834753
4916077487725650
4916623903076903
4539664564248123
4725765424431181
4024007194632823

有效期至:05/2015
CVV/CSV代码:000

Expiry date: 05/2015
CVV/CSV code: 000

(通过 DarkCoding )

请记住,沙盒未连接到任何外部卡处理器,因此,如果您需要测试任何错误处理,则需要通过

Keep in mind that Sandbox doesn't connect to any external card processors, so if you need to test any error handling, you'd need to enable "Negative Review" on your Sandbox test account via https://developer.paypal.com/ and pass specific amounts / CVV codes to trigger a specific error code.
(For example, sending AMT=100.02 to trigger the 10002 API error code. See the Sandbox User Guide for more details.)

这篇关于沙盒上的贝宝直接付款错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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