openfun / joanie

👛 A headless ERP for education to manage course enrollment/subscription, payment and certificates delivery.
MIT License
20 stars 2 forks source link

🩹(backend) check billing address before order assign #815

Closed kernicPanel closed 1 month ago

kernicPanel commented 1 month ago

Purpose

Order assign transition needs a billing address when creating the main invoice. If not present, the transition should fail.

Proposal

Add a check, and raise TransitionNotAllowed if failed.