question

hergy80 avatar image
hergy80 asked rachel Deactivated commented

Testing EMV data

I'm using a USB tethered mini dev kit, and I'm trying to get EMV data for custom receipts. I saw in a prior thread they may be located in the response in a .extra field, but I cannot find any documentation about what the variable names are in this field. Is there an updated API docs for this? I tried debugging a response, but the dev kit just fails when a chip card is entered.
Remote Pay Windows
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hergy80 avatar image hergy80 commented ·

I'm looking for items like the App ID, Application Label, MID, Card Entry Type (swiped, emv, etc), verification method (sign, pin, etc).

0 Likes 0 ·

1 Answer

rachel avatar image
rachel Deactivated answered rachel Deactivated commented
Hi @hergy80,

Would I be correct in thinking you're doing a semi-integration with one of our Remote Pay SDKs? In which case, the information for creating an EMV receipt is returned in OnSaleResponse and OnDeviceReady.

MID is in MerchantInfo: http://clover.github.io/remote-pay-windows/1.3.1/c...
SaleResponse.Payment: http://clover.github.io/remote-pay-windows/1.3.1/c...
Payment.CardTransaction: http://clover.github.io/remote-pay-windows/1.3.1/c...

This post should be helpful:
https://community.clover.com/questions/1901/clover...

Note that we've made improvements to the Printing API in Remote Pay 1.4: https://github.com/clover/remote-pay-windows/relea...


3 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hergy80 avatar image hergy80 commented ·
Thanks for the response. Yes, I'm doing a semi-integrated using windows-remote-pay. I found the MID as well as the EntryType in Card Transaction shows the method used.

Where is the AID and the Card Verification Method?

The post you linked to is the one I saw before, but is for the REST solution and the comments make it sound like it's possibly not accurate and there is no way for me to test it since the dev kit doesn't accept a chip payment and nothing is returned in the .extra field when swiping with a test card.
0 Likes 0 ·
rachel avatar image rachel hergy80 commented ·

AID and CVM are on SaleResponse.Payment.CardTransaction.extra. `extra` is a dictionary, which can include the keys "applicationIdentifier" and "cvmResult". You'll want to get the values safely, such as with TryGetValue.

0 Likes 0 ·
rachel avatar image rachel hergy80 commented ·

Also, if "applicationLabel" and "authorizingNetworkName" are available, they're also in extra.

0 Likes 0 ·

Welcome to the
Clover Developer Community