签证结账整合

时间:2015-03-24 11:47:42

标签: paypal credit-card android-pay

我正在尝试将签证结帐整合到使用PayPal付款处理的网站上。 早些时候我们在我们的网站上整合了Google电子钱包,谷歌钱包为从谷歌钱包中选择的任何卡片返回了发现卡,我们只是将卡片详细信息传递给PayPal进行付款处理。谷歌钱包的卡片响应看起来像这样

"aud": "01409448849434218847",
"iat": 1424749827,
"exp": 1424753427
},
"pan": "6011988571714740",
"cvn": "827"

其中pan是发现卡号,cvn是cvv号。

但是在签证结账时,不会退回cvv号码。签证结账的样本支付数据响应如下所示

{
"paymentRequest": {
"currencyCode": "USD",
"total": "10"
},
"userData": {
"userFirstName": "XYZ",
"userLastName": "XYZ",
"userName": "XYZ@gmail.com",
"userEmail": "XYZ@gmail.com",
"encUserId": "kFilkXPMqx9P2sxVBwZpwHZ3ZppIJSASFXOlMt/u/SU="
},
"creationTimeStamp": 1427169634910,
"paymentInstrument": {
"id": "Rjgzv/9FVVM09JiLGNHzqZlnc+h0vTA8E/NPESuZvOU=",
"lastFourDigits": "xxxx",
"binSixDigits": "xxxxxx",
"paymentType": {
  "cardBrand": "VISA",
  "cardType": "PREPAID"
 },
 "billingAddress": {
  "personName": "XYZ ABC",
  "line1": "131 Dartmouth St",
  "city": "Boston",
  "stateProvinceCode": "MA",
  "postalCode": "02116",
  "countryCode": "US",
  "phone": "9123456789"
  },
  "verificationStatus": "VERIFIED",
  "expired": false,
  "cardArts": {
  "cardArt": [
    {
      "baseImageFileName":    "https://sandbox.secure.checkout.visa.com/VmeCardArts/uWOvgFoQISxPh_MWE7gO8xJHi_Kwti3ZgptHQ1LkSR4.png",
      "height": 50,
      "width": 77
    }
  ]
},
"issuerBid": "14",
"nameOnCard": "XYZ ABC",
"expirationDate": {
  "month": "01",
  "year": "2018"
 }
},
"shippingAddress": {
"id": "vn9XOKl/FOLHzEOrs2KoF3qA2VoFoQoaz6phbibsCVE=",
"verificationStatus": "VERIFIED",
"personName": "XYZ ABC",
"line1": "131 Dartmouth St",
"city": "Boston",
"stateProvinceCode": "MA",
"postalCode": "02116",
"countryCode": "US",
"phone": "9123456789",
"default": false
},
"riskData": {
"advice": "LOW",
"score": 0,
"avsResponseCode": "Y",
"cvvResponseCode": "M"
},
"partialShippingAddress": {
"countryCode": "US",
"postalCode": "02116"
}
} 

这里我们没有得到实际的CVV数字。

任何想法,如何在没有cvv号码的情况下继续进行paypal支付处理。 (卡号以帐号显示,但在此响应中不存在。)

1 个答案:

答案 0 :(得分:1)

出于安全原因,您永远不会收到CVV号per Visa。您将收到一个表示匹配的字母值。他们说这足以处理付款。