Update Members Stripe Credit Card


I am running into an issue with some of our members needing to update their credit card information. Currently, I am just cancelling the membership on the account and having the customer resignup for another membership. This isn’t ideal because we want to be able to track the duration of memberships as well as keep members in the plans as long as possible. Is there a way to prompt the user with an error message when their card needs to be updated or if they want to update their credit card?