openfun / joanie

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

✨ (Backend) Backoffice - enhance exception handling to generate certificate for an order #698

Closed jonathanreveille closed 5 months ago

jonathanreveille commented 5 months ago

Purpose

On the Order endpoint to generate_certificate, we have decided to return the reason why the certificate is not allowed to be generated. This allows the frontend consumers to understand the reason why the order is not eligible at this specific time when requesting the generation of the certificate.

Proposal