Skip to content

Commit

Permalink
enhancement(ConfirmContribution): handle expired cards
Browse files Browse the repository at this point in the history
  • Loading branch information
Betree committed Dec 26, 2024
1 parent f1d3f60 commit 53cd930
Show file tree
Hide file tree
Showing 22 changed files with 140 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default function ManagePaymentMethods(props: ManagePaymentMethodsProps) {
id="Order.Confirm.Success"
defaultMessage="Your payment method has now been confirmed and the payment successfully went through."
/>
<StyledButton buttonSize="tiny" onClick={dismissOrderConfirmationMessage}>
<StyledButton ml={2} buttonSize="tiny" onClick={dismissOrderConfirmationMessage}>
<FormattedMessage defaultMessage="Dismiss" id="TDaF6J" />
</StyledButton>
</div>
Expand Down
7 changes: 5 additions & 2 deletions lang/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
"3fVeCs": "Disputed Contributions",
"3hR6A8": "Card resumed",
"3I6uVw": "Esborra l'aplicació",
"3IKub9": "An unexpected error occurred.",
"3IwVoe": "Token sense nom",
"3ldWIL": "Expense items",
"3P4Al8": "Show payout method details",
Expand Down Expand Up @@ -302,7 +303,6 @@
"A1c0qG": "Thanks! How could it be improved?",
"a1lJXS": "Virtual card suspended on <Account></Account>",
"a3eXJv": "The full name of the transaction account.",
"a3HMfz": "Aquest mètode de pagament no existeix o ja ha estat actualitzat",
"A4+n4H": "<Account></Account> editat",
"A5CKz8": "If you experience any issues, please contact <SupportLink>our support</SupportLink>. Questions? See <HelpDocsLink>help docs</HelpDocsLink> about taxes.",
"a5msuh": "Yes",
Expand Down Expand Up @@ -640,6 +640,7 @@
"checkingBrowser": "Your browser is being verified. If this message doesn't disappear, try to move your mouse or to touch your screen for mobile.",
"cI3CsE": "Learn more about how it all works: our philosophy and business model.",
"CICBj0": "Expiration date",
"cJ499a": "Update your contribution in the Dashboard",
"cJFNHQ": "Collective balance:",
"CJtvlX": "Alternative receipt template",
"cka+9I": "This is the preview of the email template which your financial contributor will receive.",
Expand Down Expand Up @@ -2290,6 +2291,7 @@
"join.becomeASponsor": "Become a sponsor",
"join.findAFiscalHost": "Find a Fiscal Host",
"joNiQk": "<Individual></Individual> commented on <Expense>{expenseDescription}</Expense>",
"jor/DD": "There are no active subscriptions linked to this payment method, it may have already been updated.",
"JP+lOn": "Legacy Platform Default (Pre-2024)",
"jRacqf": "Add a custom message to be included in the email sent to financial contributors of your Collective, Project, or Event.",
"jrCJwo": "Create vendor",
Expand Down Expand Up @@ -3190,6 +3192,7 @@
"RHr16v": "Webhooks for {collective}",
"Ri4REE": "Select a payout method",
"RilevA": "Vendors",
"RiYYFO": "This payment method does not exist or has already been updated.",
"rj9VjD": "Expense moved",
"RJt89q": "Agreement deleted successfully",
"RKpJ1S": "Tags that are applied to the expense.",
Expand Down Expand Up @@ -3722,7 +3725,7 @@
"update.unpublished": "Update was unpublished",
"update.viewLatestUpdates": "Mostra les últimes actualitzacions",
"UpdateAudienceBreakdown.Total": "Your Update will be sent to a total of {count} emails",
"updatePaymentMethod.form.success": "Your new card info has been added",
"updatePaymentMethod.form.success": "Your new card info has been added.",
"updatePaymentMethod.form.updatePaymentMethod.btn": "update",
"updatePaymentMethod.form.updatePaymentMethodError.btn": "Try again",
"updatePaymentMethod.form.updatePaymentMethodSuccess.btn": "Go to profile page",
Expand Down
7 changes: 5 additions & 2 deletions lang/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
"3fVeCs": "Sporné příspěvky",
"3hR6A8": "Karta byla obnovena",
"3I6uVw": "Odstranit aplikaci",
"3IKub9": "An unexpected error occurred.",
"3IwVoe": "Nepojmenovaný token",
"3ldWIL": "Výdaje",
"3P4Al8": "Show payout method details",
Expand Down Expand Up @@ -302,7 +303,6 @@
"A1c0qG": "Díky! Jak by se to mohlo zlepšit?",
"a1lJXS": "Virtuální karta pozastavena <Account></Account>",
"a3eXJv": "The full name of the transaction account.",
"a3HMfz": "Tento způsob platby neexistuje nebo již byl aktualizován",
"A4+n4H": "<Account></Account> upraven",
"A5CKz8": "If you experience any issues, please contact <SupportLink>our support</SupportLink>. Questions? See <HelpDocsLink>help docs</HelpDocsLink> about taxes.",
"a5msuh": "Ano",
Expand Down Expand Up @@ -640,6 +640,7 @@
"checkingBrowser": "Váš prohlížeč je ověřován. Pokud se tato zpráva nevyskytuje, zkuste přesunout myší nebo se dotknout obrazovky pro mobil.",
"cI3CsE": "Další informace o tom, jak to všechno funguje: naše filozofie a obchodní model.",
"CICBj0": "Datum vypršení",
"cJ499a": "Update your contribution in the Dashboard",
"cJFNHQ": "Collective balance:",
"CJtvlX": "Alternativní šablona pro příjem",
"cka+9I": "Toto je náhled e-mailové šablony, kterou váš finanční přispěvatel obdrží.",
Expand Down Expand Up @@ -2290,6 +2291,7 @@
"join.becomeASponsor": "Staňte se sponzorem",
"join.findAFiscalHost": "Find a Fiscal Host",
"joNiQk": "<Individual></Individual> commented on <Expense>{expenseDescription}</Expense>",
"jor/DD": "There are no active subscriptions linked to this payment method, it may have already been updated.",
"JP+lOn": "Legacy Platform Default (Pre-2024)",
"jRacqf": "Add a custom message to be included in the email sent to financial contributors of your Collective, Project, or Event.",
"jrCJwo": "Create vendor",
Expand Down Expand Up @@ -3190,6 +3192,7 @@
"RHr16v": "Webhooks for {collective}",
"Ri4REE": "Select a payout method",
"RilevA": "Vendors",
"RiYYFO": "This payment method does not exist or has already been updated.",
"rj9VjD": "Expense moved",
"RJt89q": "Agreement deleted successfully",
"RKpJ1S": "Tags that are applied to the expense.",
Expand Down Expand Up @@ -3722,7 +3725,7 @@
"update.unpublished": "Update was unpublished",
"update.viewLatestUpdates": "Zobrazit nejnovější aktualizace",
"UpdateAudienceBreakdown.Total": "Your Update will be sent to a total of {count} emails",
"updatePaymentMethod.form.success": "Your new card info has been added",
"updatePaymentMethod.form.success": "Your new card info has been added.",
"updatePaymentMethod.form.updatePaymentMethod.btn": "aktualizovat",
"updatePaymentMethod.form.updatePaymentMethodError.btn": "Zkusit znovu",
"updatePaymentMethod.form.updatePaymentMethodSuccess.btn": "Go to profile page",
Expand Down
7 changes: 5 additions & 2 deletions lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
"3fVeCs": "Umstrittene Beiträge",
"3hR6A8": "Gutschein freigegeben",
"3I6uVw": "Anwendung löschen",
"3IKub9": "An unexpected error occurred.",
"3IwVoe": "Unbenannter Token",
"3ldWIL": "Kosten Position",
"3P4Al8": "Details der Auszahlungsmethode anzeigen",
Expand Down Expand Up @@ -302,7 +303,6 @@
"A1c0qG": "Danke! Wie könnte es verbessert werden?",
"a1lJXS": "Virtuelle Karte von <Account></Account> wurde suspendiert",
"a3eXJv": "The full name of the transaction account.",
"a3HMfz": "Diese Zahlungsmethoden existiert nicht oder wurde bereits aktualisiert",
"A4+n4H": "<Account></Account> bearbeitet",
"A5CKz8": "If you experience any issues, please contact <SupportLink>our support</SupportLink>. Questions? See <HelpDocsLink>help docs</HelpDocsLink> about taxes.",
"a5msuh": "Ja",
Expand Down Expand Up @@ -640,6 +640,7 @@
"checkingBrowser": "Ihr Browser wird überprüft. Wenn diese Nachricht nicht verschwindet, versuchen Sie die Maus zu bewegen oder den Bildschirm auf dem Handy zu berühren.",
"cI3CsE": "Erfahren Sie mehr darüber, wie das Ganze funktioniert: unsere Philosophie und unser Geschäftsmodell.",
"CICBj0": "Ablaufdatum",
"cJ499a": "Update your contribution in the Dashboard",
"cJFNHQ": "Collective balance:",
"CJtvlX": "Alternative Belegvorlage",
"cka+9I": "Dies ist die Vorschau der E-Mail-Vorlage, die dein:e finanzielle:r Unterstützer:in erhalten wird.",
Expand Down Expand Up @@ -2290,6 +2291,7 @@
"join.becomeASponsor": "Sponsor werden",
"join.findAFiscalHost": "Finanzträger entdecken",
"joNiQk": "<Individual></Individual> kommentierte <Expense>{expenseDescription}</Expense>",
"jor/DD": "There are no active subscriptions linked to this payment method, it may have already been updated.",
"JP+lOn": "Legacy Platform Default (Pre-2024)",
"jRacqf": "Füge eine benutzerdefinierte Nachricht hinzu, die in die E-Mail aufgenommen werden soll, die an Geldgeber deines Kollektivs, Projekts oder Events gesendet wird.",
"jrCJwo": "Anbieter anlegen",
Expand Down Expand Up @@ -3190,6 +3192,7 @@
"RHr16v": "Webhooks for {collective}",
"Ri4REE": "Select a payout method",
"RilevA": "Vendors",
"RiYYFO": "This payment method does not exist or has already been updated.",
"rj9VjD": "Expense moved",
"RJt89q": "Agreement deleted successfully",
"RKpJ1S": "Tags that are applied to the expense.",
Expand Down Expand Up @@ -3722,7 +3725,7 @@
"update.unpublished": "Update was unpublished",
"update.viewLatestUpdates": "View latest updates",
"UpdateAudienceBreakdown.Total": "Your Update will be sent to a total of {count} emails",
"updatePaymentMethod.form.success": "Your new card info has been added",
"updatePaymentMethod.form.success": "Your new card info has been added.",
"updatePaymentMethod.form.updatePaymentMethod.btn": "update",
"updatePaymentMethod.form.updatePaymentMethodError.btn": "Try again",
"updatePaymentMethod.form.updatePaymentMethodSuccess.btn": "Go to profile page",
Expand Down
7 changes: 5 additions & 2 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
"3fVeCs": "Disputed Contributions",
"3hR6A8": "Card resumed",
"3I6uVw": "Delete app",
"3IKub9": "An unexpected error occurred.",
"3IwVoe": "Unnamed token",
"3ldWIL": "Expense items",
"3P4Al8": "Show payout method details",
Expand Down Expand Up @@ -302,7 +303,6 @@
"A1c0qG": "Thanks! How could it be improved?",
"a1lJXS": "Virtual card suspended on <Account></Account>",
"a3eXJv": "The full name of the transaction account.",
"a3HMfz": "This payment method does not exist or has already been updated",
"A4+n4H": "<Account></Account> edited",
"A5CKz8": "If you experience any issues, please contact <SupportLink>our support</SupportLink>. Questions? See <HelpDocsLink>help docs</HelpDocsLink> about taxes.",
"a5msuh": "Yes",
Expand Down Expand Up @@ -640,6 +640,7 @@
"checkingBrowser": "Your browser is being verified. If this message doesn't disappear, try to move your mouse or to touch your screen for mobile.",
"cI3CsE": "Learn more about how it all works: our philosophy and business model.",
"CICBj0": "Expiration date",
"cJ499a": "Update your contribution in the Dashboard",
"cJFNHQ": "Collective balance:",
"CJtvlX": "Alternative receipt template",
"cka+9I": "This is the preview of the email template which your financial contributor will receive.",
Expand Down Expand Up @@ -2290,6 +2291,7 @@
"join.becomeASponsor": "Become a sponsor",
"join.findAFiscalHost": "Find a Fiscal Host",
"joNiQk": "<Individual></Individual> commented on <Expense>{expenseDescription}</Expense>",
"jor/DD": "There are no active subscriptions linked to this payment method, it may have already been updated.",
"JP+lOn": "Legacy Platform Default (Pre-2024)",
"jRacqf": "Add a custom message to be included in the email sent to financial contributors of your Collective, Project, or Event.",
"jrCJwo": "Create vendor",
Expand Down Expand Up @@ -3190,6 +3192,7 @@
"RHr16v": "Webhooks for {collective}",
"Ri4REE": "Select a payout method",
"RilevA": "Vendors",
"RiYYFO": "This payment method does not exist or has already been updated.",
"rj9VjD": "Expense moved",
"RJt89q": "Agreement deleted successfully",
"RKpJ1S": "Tags that are applied to the expense.",
Expand Down Expand Up @@ -3722,7 +3725,7 @@
"update.unpublished": "Update was unpublished",
"update.viewLatestUpdates": "View latest updates",
"UpdateAudienceBreakdown.Total": "Your Update will be sent to a total of {count} emails",
"updatePaymentMethod.form.success": "Your new card info has been added",
"updatePaymentMethod.form.success": "Your new card info has been added.",
"updatePaymentMethod.form.updatePaymentMethod.btn": "update",
"updatePaymentMethod.form.updatePaymentMethodError.btn": "Try again",
"updatePaymentMethod.form.updatePaymentMethodSuccess.btn": "Go to profile page",
Expand Down
7 changes: 5 additions & 2 deletions lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
"3fVeCs": "Colaboraciones impugnadas",
"3hR6A8": "Tarjeta reanudada",
"3I6uVw": "Eliminar la aplicación",
"3IKub9": "An unexpected error occurred.",
"3IwVoe": "Token sin nombre",
"3ldWIL": "Líneas de gasto",
"3P4Al8": "Mostrar detalles del método de pago",
Expand Down Expand Up @@ -302,7 +303,6 @@
"A1c0qG": "Gracias. ¿Cómo se podría mejorar?",
"a1lJXS": "Tarjeta Virtual suspendida en <Account></Account>",
"a3eXJv": "El nombre completo de la cuenta de transacción.",
"a3HMfz": "Este método de pago no existe o ya ha sido actualizado",
"A4+n4H": "<Account></Account> editado",
"A5CKz8": "Si tienes algún problema, ponte en contacto con <SupportLink>nuestro equipo de soporte</SupportLink>. ¿Alguna duda? Consulta <HelpDocsLink>la documentación de ayuda</HelpDocsLink> sobre impuestos.",
"a5msuh": "",
Expand Down Expand Up @@ -640,6 +640,7 @@
"checkingBrowser": "Tu navegador está siendo verificado. Si este mensaje no desaparece, intenta mover el ratón o tocar la pantalla si estas en un móvil.",
"cI3CsE": "Descubre cómo funciona todo: nuestra filosofía y modelo de negocio.",
"CICBj0": "Fecha de expiración",
"cJ499a": "Update your contribution in the Dashboard",
"cJFNHQ": "Saldo del Colectivo:",
"CJtvlX": "Plantilla de recibo alternativo",
"cka+9I": "Esta es la vista previa de la plantilla de correo electrónico que recibirá tu colaborador financiero.",
Expand Down Expand Up @@ -2290,6 +2291,7 @@
"join.becomeASponsor": "Hazte patrocinador",
"join.findAFiscalHost": "Encuentra un Anfitrión Fiscal",
"joNiQk": "<Individual></Individual> comentó en <Expense>{expenseDescription}</Expense>",
"jor/DD": "There are no active subscriptions linked to this payment method, it may have already been updated.",
"JP+lOn": "Plataforma Heredada por Defecto (Anterior a 2024)",
"jRacqf": "Añade un mensaje personalizado que se incluirá en el correo electrónico enviado a colaboradores financieros de tu Colectivo, Proyecto o Evento.",
"jrCJwo": "Crear proveedor",
Expand Down Expand Up @@ -3190,6 +3192,7 @@
"RHr16v": "Webhooks para {collective}",
"Ri4REE": "Eligir un método de pago",
"RilevA": "Proveedores",
"RiYYFO": "This payment method does not exist or has already been updated.",
"rj9VjD": "Gasto trasladado",
"RJt89q": "Acuerdo eliminado con éxito",
"RKpJ1S": "Etiquetas que se aplican al gasto.",
Expand Down Expand Up @@ -3722,7 +3725,7 @@
"update.unpublished": "Publicación de la entrada fue anulada",
"update.viewLatestUpdates": "Ver últimas actualizaciones",
"UpdateAudienceBreakdown.Total": "Tu Entrada será enviada a un total de {count} correos electrónicos",
"updatePaymentMethod.form.success": "Se ha añadido la información de tu nueva tarjeta",
"updatePaymentMethod.form.success": "Your new card info has been added.",
"updatePaymentMethod.form.updatePaymentMethod.btn": "actualizar",
"updatePaymentMethod.form.updatePaymentMethodError.btn": "Inténtalo de nuevo",
"updatePaymentMethod.form.updatePaymentMethodSuccess.btn": "Ir al perfil",
Expand Down
7 changes: 5 additions & 2 deletions lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
"3fVeCs": "Contributions contestées",
"3hR6A8": "Carte remise",
"3I6uVw": "Applications supprimées",
"3IKub9": "An unexpected error occurred.",
"3IwVoe": "Jeton sans nom",
"3ldWIL": "Postes de dépenses",
"3P4Al8": "Afficher les détails de la méthode de paiement",
Expand Down Expand Up @@ -302,7 +303,6 @@
"A1c0qG": "Merci ! Comment pourrait-on l'améliorer ?",
"a1lJXS": "Carte virtuelle suspendue pour <Account></Account>",
"a3eXJv": "Le nom complet du compte de la transaction.",
"a3HMfz": "Ce mode de paiement n'existe pas ou a déjà été mis à jour",
"A4+n4H": "<Account></Account> modifié",
"A5CKz8": "Si vous rencontrez des problèmes, veuillez contacter <SupportLink>notre support</SupportLink>. Des questions ? Voir <HelpDocsLink>la documentation</HelpDocsLink> sur les taxes.",
"a5msuh": "Oui",
Expand Down Expand Up @@ -640,6 +640,7 @@
"checkingBrowser": "Votre navigateur est en cours de vérification. Si ce message ne disparaît pas, essayez de déplacer votre souris ou de toucher votre écran (pour les mobiles).",
"cI3CsE": "Apprenez-en davantage sur le fonctionnement de tout : notre philosophie et notre modèle d'entreprise.",
"CICBj0": "Date d'expiration",
"cJ499a": "Update your contribution in the Dashboard",
"cJFNHQ": "Solde du Collectif :",
"CJtvlX": "Modèle de reçu alternatif",
"cka+9I": "Il s'agit de l'aperçu du modèle d'e-mail que votre contributeur financier va recevoir.",
Expand Down Expand Up @@ -2290,6 +2291,7 @@
"join.becomeASponsor": "Devenez sponsor",
"join.findAFiscalHost": "Trouvez un Hôte fiscal",
"joNiQk": "<Individual></Individual> a commenté sur <Expense>{expenseDescription}</Expense>",
"jor/DD": "There are no active subscriptions linked to this payment method, it may have already been updated.",
"JP+lOn": "Plate-forme par défaut (avant 2024)",
"jRacqf": "Ajoutez un message personnalisé à inclure dans l'e-mail envoyé aux contributeurs financiers de votre Collectif, Projet ou Événement.",
"jrCJwo": "Créer un fournisseur",
Expand Down Expand Up @@ -3190,6 +3192,7 @@
"RHr16v": "Webhooks pour {collective}",
"Ri4REE": "Select a payout method",
"RilevA": "Fournisseurs",
"RiYYFO": "This payment method does not exist or has already been updated.",
"rj9VjD": "Dépense déplacée",
"RJt89q": "Accord supprimé avec succès",
"RKpJ1S": "Tags qui sont appliqués à la dépense.",
Expand Down Expand Up @@ -3722,7 +3725,7 @@
"update.unpublished": "La mise à jour a été dépubliée",
"update.viewLatestUpdates": "Voir les dernières actualités",
"UpdateAudienceBreakdown.Total": "Votre mise à jour sera envoyée à un total de {count} adresses e-mails",
"updatePaymentMethod.form.success": "Les informations de votre nouvelle carte ont été ajoutées",
"updatePaymentMethod.form.success": "Your new card info has been added.",
"updatePaymentMethod.form.updatePaymentMethod.btn": "Mettre à jour",
"updatePaymentMethod.form.updatePaymentMethodError.btn": "Réessayer",
"updatePaymentMethod.form.updatePaymentMethodSuccess.btn": "Aller sur le profil",
Expand Down
Loading

0 comments on commit 53cd930

Please sign in to comment.