Auto-renew memberships fail on front-end with basic error screen on card expired
thank you very much for your work on the extension.
Auto-renew use case
If a user selects a membership type with auto-renew but uses an expired card they see: "Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred. Your card has expired. Return to home page." and cannot move forward to complete their sign-up. A contact, membership (status new) and contribution (in progress) are created which means they can't simply have another go. Instead they must login and choose renew but they have no idea that they should do this.
Non-auto-renew use case
Compare with user-flow for non auto-renew types. In this scenario the user sees an error message under the card number "card expired" and they know what to do.
We can re-create this issue at will.
Civi: ESR 5.27.7
Many thanks for your time in reading this issue.