我正在使用Vantiv littleOnlineRequest v9.14在网络上与Apple Pay集成 https://developer.vantiv.com/docs/DOC-1755
Apple Pay 授权将在 7 天后过期。如果产品在7天内未发货且授权过期,如何重新授权同一Apple Pay交易? 因为PKPaymentToken只是一次性使用的,所以我不能重复使用令牌。
请考虑以下两种情况:
-
如果我使用"在cnpAPI中提交Apple Pay PKPaymentToken"方法调用Vantiv Authorization。响应如下:
<litleTxnId>403355311854678794</litleTxnId> <orderId>testId</orderId> <response>000</response> <responseTime>2018-08-27T21:43:48.465</responseTime> <message>Approved</message> <authCode>45625</authCode> <applepayResponse> <applicationPrimaryAccountNumber>App PAN</applicationPrimaryAccountNumber> <applicationExpirationDate>App PAN Exp Date</applicationExpirationDate> <currencyCode>Currency Code</currencyCode> <transactionAmount>Amount of Transaction</transactionAmount> <cardholderName>Name of cardholder</cardholderName> <deviceManufacturerIdentifier>Id of Device Mfr</deviceManufacturerIdentifier> <paymentDataType>Type of Payment Data</paymentDataType> <onlinePaymentCryptogram>Payment Cryptogram</onlinePaymentCryptogram> <eciIndicator>eCommerece Indicator</eciIndicator> </applepayResponse>
交易到期后,如何使用上述值再次授权同一交易?
如果我解密PKPaymentToken,vantiv请求将是
<card> <type>VI</type> <number>4242424242424242</number> <expDate>0421</expDate> </card> <cardholderAuthentication> <authenticationValue>Ad7XsdfgrtNDaA6V6MAACAAA=</authenticationValue> </cardholderAuthentication>
authenticationValue 是来自 PKPaymentToken 的密码,是一次性使用的。
我不想使用定期或分期付款。 有没有办法重新授权苹果支付?
如果这不是正确的地方,请道歉。我也问过万提夫,但没有得到任何答复。想知道以前是否有人做过苹果支付重新身份验证。
我最近完成了Apple Pay的实施,发现支付令牌没有过期。
它只是卡号、到期日期和 CVV 的哈希值。
一旦您在支付网关(例如 Stripe(注册它,然后使用Visa,万事达卡等验证哈希,然后就可以保存该卡并无限期地重复收费!
您还可以延迟初始收费 - 当用户授权他们的面部或指纹时,在您与商家协调之前不会收取任何付款。