4 ms·
> Your page will poll /transactions/<id> until the transaction ends in either success or failure. If you do something like this you need to make sure to verify
by sehrope 13y ago
> Your page will poll /transactions/<id> until the transaction ends in either success or failure.
If you do something like this you need to make sure to verify that the user actually created the transaction. Blindly loading it by id and returning it back would let any user check on any transaction. Plus it's particularly easy if the ids are sequence numbers.