openfun / joanie

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

:sparkles: (backend) Improvement - link a credit card to a payment provider #820

Closed jonathanreveille closed 3 weeks ago

jonathanreveille commented 1 month ago

Purpose

A credit card model is not linked to a payment provider. If the payment provider is changed than all existing credit card can not be used and will not be recognized by the new payment provider.

Proposal

lunika commented 1 month ago

To finish this PR you should add a migration, adding the current payment backend provider name in this field for already existing records