Hi Edward
Thank you for your efforts.
I'm sure I'll forget something important
Payment card data
ta_card_data_get_acc @112
ta_card_data_get_account_type @113
ta_card_data_get_aid @114
ta_card_data_get_asrpd @115
ta_card_data_get_brand_name @116
ta_card_data_get_card_country_code @117
ta_card_data_get_card_expiry_date @118
ta_card_data_get_card_number @119
ta_card_data_get_card_number_enc @120
ta_card_data_get_card_number_enc_key_index @121
ta_card_data_get_card_number_printable @122
ta_card_data_get_card_number_printable_cardholder @123
ta_card_data_get_card_product_type @124
ta_card_data_get_card_ref @125
ta_card_data_get_card_track_datas @126
ta_card_data_get_card_type @127
ta_card_data_get_cardholder @128
ta_card_data_get_emv_par @129
ta_card_data_get_language @130
ta_card_data_get_loyalty_information @131
ta_card_data_get_pos_entry_mode @132
ta_card_data_get_processing_disposition @133
ta_card_data_get_tender_name @134
ta_card_data_get_terminal_country_code @135
ta_card_data_get_token_pan @136
ta_card_data_get_token_pan_type @137
ta_card_data_get_uid @138
ta_card_product_type_e2s @139
ta_card_reader_e2s @140
ta_card_reader_status_e2s @141
ta_card_track_data_get_data @142
ta_card_track_data_get_track_number @143
these are functions from timapi.def
some data I don't even know what they are for
Card verification should already work, but I'll get to that on Saturday.
I will test it using AdvancedEcr.exe and your new functions and let you know what values are actually returned. These should be sufficient for records.
The return value would be an array.
Creation of the log file for the transaction
By trasaction I mean one case from Connect to Disconnect
Parameters - filename with path, append mode
Someone may want to save the log on a daily basis and then need append.
I personally prefer individual files, name -'document number'+'.tim'
Print transaction confirmation
Payment terminals are supplied in two versions
-with a printer
-without a printer
I have a terminal without printers at my disposal. My application must ensure printing on the cash register printer.
In Slovakia, it's similar to Poland, we have mandatory fiscal printers, so I print it on it after completing the cashier's receipt.
I don't know how it will turn out if I send the transaction to a payment terminal with a printer, whether it will automatically print it.
The return would be an array and individual rows.
I hope that we will reach a successful end.
It should help everyone who creates applications for stores.
Regards, George