Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 3, 2025
1 parent 14399f8 commit 8c92207
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/commoninvoice.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,7 @@ public function makeStripeSepaRequest($fuser, $did, $type = 'direct-debit', $sou

$error++;
$errorforinvoice++;
$errmsg = $langs->trans("FailedToChargeCard");
$errmsg = $langs->trans("FailedToChargeSEPA");
if (!empty($charge)) {
if ($stripefailuredeclinecode == 'authentication_required') {
$errauthenticationmessage = $langs->trans("ErrSCAAuthentication");
Expand Down
1 change: 1 addition & 0 deletions htdocs/langs/en_US/stripe.lang
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ CSSUrlForPaymentForm=CSS style sheet url for payment form
NewStripePaymentReceived=New Stripe payment received
NewStripePaymentFailed=New Stripe payment tried but failed
FailedToChargeCard=Failed to charge card
FailedToChargeSEPA=Failed to charge SEPA
STRIPE_TEST_SECRET_KEY=Secret test key
STRIPE_TEST_PUBLISHABLE_KEY=Publishable test key
STRIPE_TEST_WEBHOOK_KEY=Webhook test key
Expand Down

0 comments on commit 8c92207

Please sign in to comment.