Skip to content

IAV-834 : add product management with toggle, popular indicator, and conversion rates

saoud marouane a demandé de fusionner feature/IAV-834 vers develop
  • Add toggleProductActive() method to activate/deactivate subscription and extra credit products
  • Add isActive flag to StripeProductResponse to indicate product status
  • Add isPopular flag to identify the most subscribed product
  • Implement updateProductWithPlans() to modify existing subscription products
  • Archive old prices and create new ones during product updates
  • Fetch all products (active and inactive) in getSubscriptionProducts()
  • Add conversionRateEur and conversionRateMad to StripeProductResponse
  • Create fetchAllProducts() method to retrieve products regardless of status
  • Update StripeProductMapper with overloaded toSubscriptionProductResponse() method
  • Convert all log messages to English for consistency
  • Add PATCH endpoints for toggling product status
  • Improve product retrieval after updates to ensure fresh data

Closes IAV-834

Rapports de requête de fusion