Skip to content

Refactor a PlanPaymentForm from payment/views.py #522

@allanlasser

Description

@allanlasser

Right now we use naive POST handling for the payment form. Refactoring this logic into a PlanPaymentForm will make our code simpler and allow us to reuse this form in more places.

We should also makes sure that this refactored form incorporates the template logic and JS logic in templates/payments/plan.html, since it's tightly coupled to the form behavior.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions