chrishjorth / sharingear-static

HTML, CSS, JavaScript files, Images, etc.
0 stars 0 forks source link

Multiple booking emails sent #286

Closed chrishjorth closed 9 years ago

chrishjorth commented 9 years ago

DESCRIPTION: Reloading a gear or van profile view after a booking process, that is when the payment successful modal view shows up, causes the booking emails to be sent again. Each reload sends a new set of emails. This allows a user to actually spam the owner of the gear. The fix for the bug should happen on the backend side, maybe by adding a field to the booking table in the database that tracks which emails have been sent. HOW TO REPRODUCE:

  1. Book gear until the booking step 3 modal view shows up, do not close the modal.
  2. Reload page.
chrishjorth commented 9 years ago

The flag that tracks the emails send to each part of the transaction must be added to the booking log. This will be fixed once we do full booking logging.