简体   繁体   English

PIN 块转换失败

[英]PIN block translation failure

we have in our case an ATM switch that is connected to Payment network (eg, VISA) on one hand and Issuer on another hand.在我们的案例中,我们有一个 ATM 交换机,一方面连接到支付网络(例如,VISA),另一方面连接到发行人。 while firing a transaction(transaction flow :acquirer bank-->Payment network-->ATM switch-->Issuer),the transaction failed with error "PIN block translation failed" at switch side.在触发交易时(交易流程:收单行-->支付网络-->ATM交换机-->发卡行),交易失败,交换机端出现错误“PIN块转换失败”。 What could be a reason for such error, noting that the check value of ZPK at both sides(Payment network and ATM switch) is found to be the same ?出现这种错误的原因是什么,注意发现双方(支付网络和 ATM 交换机)的 ZPK 校验值相同?

There may be several reasons when ZPK is the same and there is encryption issue:当ZPK相同并且存在加密问题时,可能有几个原因:

  1. Different PINblock format不同的PINblock格式

Although it is not that common, but still, you might want to verify that on both ends you have same format (some are padded with 'F', some are xored with PAN).虽然它并不常见,但您仍然可能想验证两端是否具有相同的格式(有些用“F”填充,有些用 PAN 异或)。

  1. You may have incorrect PAN您的 PAN 可能不正确

Account number is necessary for many PINblock formats, translation may not succeed when account number is different, you may check if there are PAN mapping/translations/tokenizations in place.许多PINblock格式都需要帐号,帐号不同时翻译可能无法成功,您可以检查是否有PAN映射/翻译/标记化。

  1. Account number format帐号格式

ie when you use ISO9564 format 0 PINblock you don't use the whole PAN for PIN Block generation, but only 12 rightmost digits without the Luhn check digit - with some cards you may have a surprise is the check digit included or not.即,当您使用 ISO9564 格式 0 PINblock 时,您不会使用整个 PAN 来生成 PIN 块,但只有最右边的 12 个数字没有 Luhn 校验位 - 对于某些卡,您可能会惊讶于是否包含校验位。

  1. Some other issue, but it's hard to say without any test data.其他一些问题,但没有任何测试数据很难说。

Is it just with Visa you have this issue ?是不是只有 Visa 有这个问题? By this I mean to ask, for other payment schemes it is working ?我的意思是问,对于其他付款计划,它是否有效? If it is working then you can rule out the chance of terminal PIN key mismatch with switch.如果它正常工作,则可以排除终端PIN密钥与开关不匹配的可能性。

Now you you can start looking at PIN block generation part.现在您可以开始查看 PIN 块生成部分。 During FIT download, you mention for each bin range how it has to be.在 FIT 下载期间,您会为每个 bin 范围提及它必须如何。 Compare it with expected values.将其与预期值进行比较。 Mostly used is format 0, but double confirm your case.最常用的是格式 0,但请仔细确认您的情况。

Lastly, during translation you specify source pin block format and destination PIN block format.最后,在转换过程中,您指定源 PIN 块格式和目标 PIN 块格式。 Verify that is as expected.验证是否符合预期。

If you have the clear ZPK(zonal pin key) decrypt the pinblock using TripleDES algorithm.如果您有明确的 ZPK(区域密码),则使用 TripleDES 算法解密密码块。 If the decrypted pinblock does not start with character '0' or '1' then you are using wrong key for translation.如果解密的 pinblock 不是以字符“0”或“1”开头,那么您使用了错误的翻译密钥。 If you give more details like HSM response code of failure, more specific reason can be found out.如果您提供更多详细信息,例如失败的 HSM 响应代码,则可以找到更具体的原因。

If you don't want to try manually use https://www.eftlab.com/bp-tools/如果您不想手动尝试使用https://www.eftlab.com/bp-tools/

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

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