issue with get processing options

2019-01-20 02:45发布

问题:

I have selected application (A0000000032010) on Visa contactless card

and when I issue GPO command:

"80A8000002830000"

I get error:

67 00

Does anyone have idea what can be causing this?

回答1:

You receive that error code because you are sending an invalid GET PROCESSING OPTIONS command. In response to the application selection, you received the following PDOL:

9F38 0E (Processing Options Data Object List (PDOL))
    9F6604 (Terminal Transaction Qualifiers (TTQ))
    9F0206 (Amount, Authorized (Numeric))
    9F3704 (Unpredictable Number)
    5F2A02 (Transaction Currency Code)
    9A03   (Transaction Date)

Consequently you have to provide those requested data objects in the PDOL related data you send in your GPO command:

80 A8 0000 15 83 13 uuuuuuuu vvvvvvvvvvvv wwwwwwww xxxx yyyyyy 00

Where uuuuuuuu are the Terminal Transaction Qualifiers (see this post for possible values), vvvvvvvvvvvv is the authorized amount, wwwwwwww is the unpredictable number, xxxx is the transaction currency code and yyyyyy is the transaction date. See the EMV (contactless) specifications for payment systems available for free from EMVCo.