When a patient successfully submits a credit card through a form, the card is immediately saved in the "Saved Cards" section. To ensure patients are informed that a card has been added, a "Card Saved Successfully" message will now appear in the "Add Card" section.
How It Works
After a patient submits a credit card, the message "Card Saved Successfully" will appear in the "Saved Cards" section.
The message will remain visible until a new card is added and will not disappear on its own.
If a new card is submitted, the previous success message will be replaced with a new confirmation message.
No error message will be displayed in the event of a failed action.