openfun / joanie

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

API returning 200 even when Lyra request fails #811

Closed NathanVss closed 1 month ago

NathanVss commented 1 month ago

Bug Report

Problematic behavior When calling /api/v1.0/orders/{order.id}/submit_installment_payment/ route with a credit_card_id that Lyra does not know ( e.g. generated by fixtures ) the API returns an empty 200 response.

Expected behavior/code It should return an error.

Additional context/Screenshots

Capture d’écran 2024-05-30 à 11 47 13