Refactor #1400

Do All Currency Calculations on Server

Added by Pavan Rikhi 8 months ago. Updated 29 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:Pavan Rikhi% Done:

0%

Category:Code QualitySpent 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 29 days ago

  • Target version changed from v0.6.0 - Checkout to v2.0.0 - Post-Migration Issues

Also available in: Atom PDF