OdyseeTeam / odysee-frontend

The code that runs odysee.com
https://odysee.com
MIT License
210 stars 66 forks source link

Prevent duplicate actions site wide #1941

Open tzarebczan opened 2 years ago

tzarebczan commented 2 years ago

We've seen a few reports of this behavior ranging from submitting tips (both cash and LBC), to purchasing content, to publishing.

Not sure exactly what the case is or how it happens, but maybe we can do some brainstorming on how to prevent during certain actions/calls.

tzarebczan commented 2 years ago

The last user who ran into this during a credit card tip said she noticed that the video started buffering while in process of the transaction. Wonder if there was a network hiccup and the browser reran the function?

tzarebczan commented 1 year ago

Recent feedback from a 6x multitip: I think it happened because I was spamming the send button because it wasn't saying "sending...", I was using the mobile app