-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The relay /pay and /status spec is geared towards singular transactions.
/payoutputs are expected to be validated on the/paycall and error if something is incorrect there/status(or/payresponse) is relative to a single transaction
Bullet points so I don't need to form human sentences:
- Given we're working with
dogecoin:URIs and have fallbacks for the classic "pay address amount" usage there isn't anything preventing weird payments getting through. A customer may pay 5 DOGE in one transaction from one account and 5 DOGE in another transaction from another account - Assuming the payment address is the identifier: there's room for things like underpayment/overpayment
- A potential scenario would be customer pays via wallet that does not support dogeconnect, gets told the payment was too low because they accidentally modified the amount/something, goes to pay again via a wallet that does support doge connect and is unable to pay because a tx has already been created
Questions:
- What should we do here? Am I missing something obvious or is this something we should support and be a bit more open to multiple payments?
- I guess another thing: As the person awaiting payment am I also polling
/statusor am I supposed to be smarter? - Is address supposed to be the core tx identifier? I guess that forces HD wallets for anyone wanting to accept payments?
Probably all a bit edge casey, but it's an edge casey world.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels