Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RES 3700: apply payment to check error

Status
Not open for further replies.

myu0516

IS-IT--Management
May 11, 2019
111
CA
Log snippet:

Tue Apr 5 12:21:36 2022 | MICROSPOS | POSAPI | 0 | CTransactionServices::AddToExistingCheckEx failed with error C701042C, TTE = 938 |

Payment itself was successful (Eigen)

Checked POS configuration, cannot find any issue...
 
Check was open on a terminal when the API tried to close it. Cant have the check open when applying payment. Handheld would have had an error like "Applying payment failed, Retry?" Sending the check on the workstation and using "Retry" will close it correctly. Staff training.
 
Thanks. But not this case. It is a new set up, only one workstation and check is not open.

Handset is on cellular. Maybe a firewall issue at the router? Unsure.
 
Update: found this error in payment provider's log file, seems to be the cause:

2022-04-05 13:46:25.915 - SQLite error: UNIQUE constraint failed: Payments.CheckSequence, Payments.LongToken
2022-04-05 13:46:25.915 - SQLite step result: 19
2022-04-05 13:46:25.915 - SQLite finished executing
2022-04-05 13:46:25.915 - Adding payment details
2022-04-05 13:46:25.915 - ApplyPayment::getTenderMediaObjectNum()
2022-04-05 13:46:25.915 - Fallback to BrandTenderMap Singleton
2022-04-05 13:46:25.915 - Tender Media Object Number: 202
2022-04-05 13:46:25.915 - approval code added: 861724
2022-04-05 13:46:25.915 - ApplyPayment::setCardDataFields( <payment> )
2022-04-05 13:46:25.915 - Entry method: 'S'
2022-04-05 13:46:25.915 - Modifying Check
2022-04-05 13:46:26.876 - Check Modified
2022-04-05 13:46:26.876 - Error processing threaded call: *PLEASE SWIPE ON PINPAD
2022-04-05 13:46:26.876 - SQLite finished executing
 
After a huge amount of error log checking, found a clue from POS API parameters of SOAP request AddToExistingCheckEx, and turned to be correct. Menu SLU issue. Super easy to fix, once found the cause.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top