Implement a unique transaction_id and items. Send currency whenever value is supplied; value is the sum of discounted item prices multiplied by quantities, excluding tax and shipping.
Sending the same order from both browser and server does not automatically improve accuracy. Design retries and duplicate prevention, then reconcile with order records.
