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) save credit card for payment backend #691

Closed jonathanreveille closed 6 months ago

jonathanreveille commented 7 months ago

Purpose

This PR solves this issue.

We want to be able to save a credit card without doing a real payment.

We added a new method in the payment backend to initiate this procedure. The other method that has been implemented is to create the credit card for the owner of the order, and we create it with the response from the payment backend (token id, brand, expiration dates...).

Proposal

jonathanreveille commented 6 months ago

We will use another payment service to save the card...