diff --git a/htdocs/public/stripe/ipn.php b/htdocs/public/stripe/ipn.php index 9f1c65e1aee..0898e53f9f6 100644 --- a/htdocs/public/stripe/ipn.php +++ b/htdocs/public/stripe/ipn.php @@ -250,7 +250,7 @@ if ($event->type == 'payout.created' && getDolGlobalString('STRIPE_AUTO_RECORD_P $currency_code = getDolCurrency(); $dateo = dol_now(); - $label = $event->data->object->description.' (autorecord by IPN - see Stripe setup)'; + $label = $event->data->object->description.' '.getDolGlobalString('STRIPE_AUTO_RECORD_PAYOUT_LABEL', '- autorecord by IPN, see Stripe setup'); $amount = $stripe->convertAmount($event->data->object->amount, $currency_code, 1); require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';