Skip to content
Discussion options

You must be logged in to vote

Hi, Use one canonical pricing path and shared identifiers.

• Treat server-side pricing logic as source of truth.
• Widget should request pricing from app proxy/server, not recalculate differently on client.
• Store tier metadata in a consistent schema referenced by both widget and discount logic.
• Add regression tests for at least 2 currencies and multiple quantities.

Consistency depends on shared data contracts, not duplicated calculations.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hue-ra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants