Je reçois l'erreur suivante lors de l'exécution d'une méthode DoDirectPayment dans le bac à sable. Le même code fonctionne réellement bien dans la version live.Classic API NVP, Classic ASP DoDirectPayment dans Sandbox
WinHttp.WinHttpRequest error '80072f7d'
An error occurred in the secure channel support
BTW, le point final que je utilise est:
API_ENDPOINT = "https://api-3t.sandbox.paypal.com/nvp"
J'ai trouvé un poste qui recommande de changer:
Set objHttp = Server.CreateObject("WinHTTP.WinHTTPRequest.5.1")
par
Set objhttp = Server.CreateObject ("MSXML2.XMLHTTP.6.0")
Dans ce Si la réponse est:
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
Par ailleurs, j'ai testé avec plus d'une carte. i.e:
MasterCard 5555555555554444
MasterCard 5105105105105100
Visa 4111111111111111
Visa 4012888888881881
Toute aide sera appréciée.