Alice Kazin:
I can’t speak to your specific situation but I can share something similar that your situation reminds me of.
I was attempting to do a real-time charge integration many years ago from our Anatomical Pathology system (Tamtron).
I ended up with duplicate charges once the charges passed through the cloverleaf integration engine.
After investigating, I found the cloverleaf listener interface took about 10 seconds to startup.
This 10 second startup on cloverleaf caused the Tamtron foreign interface sender to do about 10 resends.
By the time the cloverleaf interface listener was up and running I already had the same charge queued up 10 times.
Each of the 10 duplicate charges were encapsulated properly and not concatenated like your situation.
I was able to eliminate the problem by having the vendor set their resend rate to higher than 10 seconds.
However, I decided I would never be comfortable with a real-time billing interface because there are other ways to generate undesired resends/duplicates.
It was at that point I decided to play it safe and only do batch integrations for charges.
If I absolutely had to do a real-time charge integration, I would add as much checking of sequential sequence numbers as possible to gain confidence no charges are duplicated as the result of any resend issues along the way.
Russ Ross
RussRoss318@gmail.com