Context
Related to SOFTNETWORK-APP/softpayment#24 — when a user subscribes with a specific card, the subscription is associated with the wrong card because the portal checkout does not pass the cardId to the subscribe endpoint.
What needs to change
The portal checkout page (React frontend) must include the selected card ID / payment method ID when calling the subscribe endpoint, so that the correct card is associated with the new Stripe subscription.
Depends on
Context
Related to SOFTNETWORK-APP/softpayment#24 — when a user subscribes with a specific card, the subscription is associated with the wrong card because the portal checkout does not pass the
cardIdto the subscribe endpoint.What needs to change
The portal checkout page (React frontend) must include the selected card ID / payment method ID when calling the subscribe endpoint, so that the correct card is associated with the new Stripe subscription.
Depends on
cardIdfield toRegisterRecurringPaymenton the backend side)