WSMorrison / BricksThenMadeNow

1 stars 1 forks source link

Order processing is making duplicate orders #75

Open WSMorrison opened 1 year ago

WSMorrison commented 1 year ago

When an order is processed, the order is submitted to order models in the database twice, both times with incomplete information

WSMorrison commented 1 year ago

Calculating shipping in the contexts and in the models were leading to disagreements. Tutor advice was to make the calculations identical. Solved by simplifying shipping so calculations can be identical. This is an area for improvement.