DiamondLightSource / SynchWeb

ISPyB web application
http://diamondlightsource.github.io/SynchWeb/
Apache License 2.0
15 stars 31 forks source link

LIMS-1396: Use shipping service callback URL to only send emails once shipment is booked #814

Closed ndg63276 closed 1 week ago

ndg63276 commented 1 month ago

JIRA ticket: LIMS-1396

Summary:

Currently, when a user is redirected to the shipping service, Synchweb sends the email and marks the dewar as 'dispatch-requested' instantly, as it doesn't know if/when they have completed the form. The shipping service now accepts a callback URL, so we can send that in and it will POST to the address with some data about the completed shipment.

Changes:

To test: