【问题标题】:Classic API NVP, Classic ASP DoDirectPayment in Sandbox沙盒中的经典 API NVP、经典 ASP DoDirectPayment
【发布时间】:2023-04-08 19:20:01
【问题描述】:

在沙箱中运行 DoDirectPayment 方法时出现以下错误。相同的代码实际上在实时版本中运行良好。

WinHttp.WinHttpRequest error '80072f7d'

An error occurred in the secure channel support 

顺便说一句,我使用的端点是:

API_ENDPOINT    = "https://api-3t.sandbox.paypal.com/nvp"

我发现一个帖子建议改:

Set objHttp = Server.CreateObject("WinHTTP.WinHTTPRequest.5.1")

通过

Set objhttp = Server.CreateObject ("MSXML2.XMLHTTP.6.0")

在这种情况下,响应是:

TIMESTAMP=2016-08-11T17:04:06Z&
CORRELATIONID=aa25568f7686b&
ACK=Failure&
VERSION=63.0&
BUILD=000000&
L_ERRORCODE0=10759&
L_SHORTMESSAGE0=Transaction cannot be processed.&
L_LONGMESSAGE0=Please use a different payment card.&
L_SEVERITYCODE0=Error&
AMT=4.00&
CURRENCYCODE=USD

顺便说一句,我用不止一张卡测试过。即:

MasterCard 5555555555554444
MasterCard 5105105105105100
Visa 4111111111111111
Visa 4012888888881881

任何帮助将不胜感激。

【问题讨论】:

    标签: paypal asp-classic paypal-sandbox express-checkout paypal-nvp


    【解决方案1】:

    我终于找到了问题。我正在使用本网站提供的贝宝测试卡号:

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

    我没有使用它,而是从以下站点获得了数字,一切都很好。

    http://www.getcreditcardnumbers.com/

    【讨论】:

      猜你喜欢
      • 2014-01-27
      • 2023-03-27
      • 1970-01-01
      • 2012-01-24
      • 2015-05-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多