6ae7b045a7
The checkout was being cleared before tracking, causing getTotal() to return 0. Fixed by reordering operations: 1. Track order completion (while checkout data exists) 2. Then clear the checkout Added console log to verify total is captured correctly.