简体   繁体   English

贝宝网站付款专业版-获取AVS / CVV

[英]Paypal Website Payments Pro - Get AVS/CVV

I am using Paypal Website Payments Pro currently. 我目前正在使用Paypal网站付款专业版。

My question is, how can I retrieve the AVS/CVV response code through the API, after a transaction has taken place. 我的问题是,交易发生 ,如何通过API检索AVS/CVV响应代码。 So I'm thinking all I need to do is send a GET request to some endpoint, with the transaction ID, and I am hoping the AVS/CVV will be included in the response. 因此,我认为我需要做的就是向带有事务ID的某个终结点发送GET请求,并且希望将AVS/CVV包含在响应中。

There seems to be limited information on what is actually returned though. 尽管实际上返回的信息似乎有限。

TLDR: That said, is it possible to retrieve the AVS/CVV response code through the API, for Paypal Website Payments Pro, while providing a transaction ID (or similar) as a parameter? TLDR:也就是说,是否可以通过API为Paypal Website Payments Pro检索AVS / CVV响应代码,同时提供交易ID(或类似数据)作为参数?

This is the typical DoDirectPayment Response 这是典型的DoDirectPayment响应

NVP Response: NVP回应:

TIMESTAMP=2015-04-01T07:09:23Z
CORRELATIONID=5d206d78a7eb2
ACK=Success
VERSION=109.0
BUILD=15840636
AMT=0.01
CURRENCYCODE=USD
AVSCODE=X
CVV2MATCH=M
TRANSACTIONID=4XJ98999B8918783X

There is GetTransactionDetails API with transaction id as input parameter , which responds the following but won't get AVS,CVV in response. GetTransactionDetails API,交易ID为输入参数,它会响应以下内容,但不会得到AVS,CVV作为响应。

NVP Response: NVP回应:

RECEIVERBUSINESS=us-30@cri.com
RECEIVEREMAIL=us-30@cri.com
RECEIVERID=XTV2XWLQDBBUL
PAYERID=RPP8F58J274JG
PAYERSTATUS=unverified
COUNTRYCODE=US
ADDRESSOWNER=PayPal
ADDRESSSTATUS=None
SALESTAX=0.00
SHIPAMOUNT=0.00
SHIPHANDLEAMOUNT=0.00
TIMESTAMP=2015-04-01T07:09:35Z
CORRELATIONID=6d04b6839b8a
ACK=Success
VERSION=109.0
BUILD=15840636
FIRSTNAME=John
LASTNAME=Test
TRANSACTIONID=4XJ98999B8918783X
RECEIPTID=2178-2433-5782-0156
TRANSACTIONTYPE=webaccept
PAYMENTTYPE=instant
ORDERTIME=2015-04-01T07:09:22Z
AMT=0.01
FEEAMT=0.01
TAXAMT=0.00
CURRENCYCODE=USD
PAYMENTSTATUS=Completed
PENDINGREASON=None
REASONCODE=None
PROTECTIONELIGIBILITY=Ineligible
PROTECTIONELIGIBILITYTYPE=None
L_QTY0=1
L_TAXAMT0=0.00
L_CURRENCYCODE0=USD
L_TAXABLE0=false

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM