I'm integrating Ripple with a commerce system, to accept payments to a Ripple wallet.
My understanding is that the destination_tag, an integer, is the only data I can use to track a transaction. I can specify the destination_tag when I send the user to their wallet, and it will be tracked in the ledger.
If I'm correct this is the only parameter, I'm worried about conflicting destination tags.
Am I correct that if a wallet is being used with my system, it can't be used with any other, as they might use the same destination tag?
When a user of my system specifies their ripple account (wallet), am I expected to query the ledger for all past transactions to that wallet and, if any, throw an error that the same wallet can't be used with two payment systems?
Do I have to store not only the account id, but also the ledger sequence when my system learned the account id, so that I only search for transaction ids after that ledger sequence?