Looking at integrating algorand into a payment system. However am unclear what’s the ideal flow to be used to achieve the following:
New payment address per transaction regardless whether the payment is completed
Payment under a similar merchant is derived under the same key
Opt-in of ASA (USDT / USDC) issue if constantly generating new address (doesn’t seem elegant since fee is incurred regardless whether a payment is made)
Seems like having a unique address per merchant is the best trade-off imo? Who paid the merchant has to be dealt with under memo?
Would be great to know if my understanding is correct.
If you want to avoid users generating and managing N different public/secret key pairs for N merchants one thing you can do is having a 2 out of 3 MultiSig account, in which 2 keys belong to the user (always the same, avoiding key management complexity) and the 3rd belongs to the merchant but has no authority (it is just used as placeholder to have a unique user:merchant mapping, saving the user form handling large number of keys).
In this way the user can interact with N merchant with the same 2 keys.