Floating payment notifications with 0 sum
slavcho opened this issue · comments
Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)
No response
Describe the Bug
Sometimes we can see floating notifications for payments with 0.0 on them.
I saw two of those today and managed to make a screenshot of one.
To Reproduce
Not sure how to reproduce it. Saw it by luck.
Here is the corresponding payment in stripe:
The payment is in a "waiting" state.
Expected Behavior
Show only valid payments.
Which browser are you using? (if relevant)
No response
Perhaps expanding this condition to check if newDonationStatus is succeeded, will do the trick
Edit: We might need to check if newDonationStatus === succeeded
here and here aswell.