Refactor #1400
Do All Currency Calculations on Server
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Pavan Rikhi | % Done: | 0% | |
Category: | Code Quality | Spent time: | - | |
Target version: | v2.0.0 - Post-Migration Issues | |||
Easy Pickings: |
Description
Instead of making the frontend calculate the cart/order total, just have the backend do it & send the result in cents.
Right now we are performing the calculation on both the front & back ends which can cause bugs if the processing code is ever out of sync.
History
#1 Updated by Pavan Rikhi 5 months ago
- Target version changed from v0.6.0 - Checkout to v2.0.0 - Post-Migration Issues