ffdab8069840bf7827e7ce9de50642806d7b885e
Fixed PaymentForm.clean() validation that was preventing payments from being saved on new orders. The validation required order to exist, but during creation self.instance.order is None until formset is saved. Changes: - Removed hard requirement for order in PaymentForm.clean() - Wallet balance checks now only run when order exists - Empty payment forms still allowed (for deletion in formset) - Basic amount validation maintained This fixes the issue where payments wouldn't persist when creating a new order, even though no validation errors were shown to user. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Description
No description provided
Languages
Python
57%
HTML
32%
JavaScript
9.5%
CSS
1.1%
Shell
0.4%