Implement Stripe Failure Code support.

This commit is contained in:
Alex Hart
2023-10-18 09:16:50 -04:00
committed by Cody Henthorne
parent 9da5f47623
commit 280da481ee
14 changed files with 219 additions and 23 deletions

View File

@@ -4917,6 +4917,18 @@
<!-- Stripe decline code incorrect_number and invalid_number for credit cards displayed in a notification or dialog -->
<string name="DeclineCode__your_card_number_is_incorrect_verify_your_card_details">Your card number is incorrect. Verify your card details are correct and try again.</string>
<!-- Stripe Failure Codes for failed bank transfers -->
<!-- Failure code text for insufficient funds, displayed in a dialog or notification -->
<string name="StripeFailureCode__the_bank_account_provided">The bank account provided has insufficient funds to complete this purchase, try again or contact your bank for more information.</string>
<!-- Failure code text for revoked authorization of payment, displayed in a dialog or notification -->
<string name="StripeFailureCode__this_payment_was_revoked">This payment was revoked by the account holder and could not be processed. You haven\'t been charged.</string>
<!-- Failure code text for a payment lacking an authorized mandate or incorrect mandate, displayed in a dialog or notification -->
<string name="StripeFailureCode__an_error_occurred_while_processing_this_payment">An error occurred while processing this payment, please try again.</string>
<!-- Failure code text for a closed account, deceased recipient, or one with blocked direct debits, displayed in a dialog or notification -->
<string name="StripeFailureCode__the_bank_details_provided_could_not_be_processed">The bank details provided could not be processed, contact your bank for more information.</string>
<!-- Failure code text for a non-existent bank branch, invalid account holder, invalid iban, generic failure, or unknown bank failure, displayed in a dialog or notification -->
<string name="StripeFailureCode__verify_your_bank_details_are_correct">Verify your bank details are correct and try again. If the problem continues, contact your bank.</string>
<!-- Title of create notification profile screen -->
<string name="EditNotificationProfileFragment__name_your_profile">Name your profile</string>
<!-- Hint text for create/edit notification profile name -->