简体   繁体   English

生成AC COMMAND不适用于AMEX卡

[英]Generate AC COMMAND is not working on AMEX card

I have CDOL1 and i have successfully generate AC command and it works on Visa card and i get Success code but it is not working on AMEX card although AMEX have same CDOL1 command. 我有CDOL1,并且我已经成功生成了AC命令,它可以在Visa卡上工作,并且我可以获取成功代码,尽管AMEX具有相同的CDOL1命令,但它不能在AMEX卡上工作。

CDOL1 CDOL1

9F02 06 - Authorised amount of the transaction (excluding adjustments)
9F03 06 - Secondary amount associated with the transaction representing a cashback amount
9F1A 02 - the country of the terminal
95   05 - Status of the different functions as seen from the terminal
5F2A 02 - the currency code of the transaction
9A   03 - Local date that the transaction was authorised 
9C   01 - the type of financial transaction
9F37 04 - Value to provide variability and uniqueness to the generation of a cryptogram

Generate AC Command 生成交流命令

80 AE 5000 1D 000000001000 000000000000 0040 0000000000 0978 150528 00 661D7D59 00

From AEIPS 4.1 Card specification: "Combined Dynamic Data Authentication/Application Cryptogram Generation is not supported by this version of AEIPS." 从AEIPS 4.1卡规范开始:“此版本的AEIPS不支持组合的动态数据身份验证/应用程序密码生成。” Later CDA is optional to support at EMV terminals. 以后的CDA是可选的,以在EMV终端上支持。

Last Le byte 0x00 might be excluded from command. 最后的Le字节0x00可能从命令中排除。 Could be a case. 可能是一种情况。

In the sample GenAC1 APDU command P1 = 0x50, meant: 在样本GenAC1 APDU命令中,P1 = 0x50,表示:

- P1: "50" # Parameter 1
    # [01______] bits 8 to 7, Transaction Certificate (TC), Transaction approved
    # [___1____] bit 5, requested CDA signature

I guess TC + CDA is not good case to generate first AC at Amex AEIPS cards. 我猜想TC + CDA不是在Amex AEIPS卡上生成第一个AC的好情况。

If you really want to get TC from your card try to request TC only, P1 = 0x40. 如果您真的想从卡中获取TC,请尝试仅请求TC,P1 = 0x40。

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

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