'
+ . 'As a promoter, you may refund the customer up to 100% of the transaction amount.
'
+ . 'However, MS1 platform fees are not refunded to the promoter. If you refund the customer, you absorb those fees — they remain your responsibility.
'
+ . 'The « Max refundable » amount is the PayPal balance available for this capture, not a reimbursement of MS1 fees.
'
+ . '',
+ );
+ }
+
+ return array(
+ 'titre' => 'Remboursement et frais MS1',
+ 'html' => ''
+ . 'En tant que promoteur, vous pouvez rembourser le client jusqu\'à 100 % du montant de la transaction.
'
+ . 'En revanche, les frais MS1 ne sont pas remboursés par la plateforme au promoteur. Si vous remboursez le client, vous assumez ces frais : ils restent à votre charge.
'
+ . 'Le montant « Max remboursable » correspond au solde PayPal disponible pour cette capture, et non au remboursement des frais MS1.
'
+ . '',
+ );
+}
+
+/**
+ * Colonne droite du panneau remboursement (fiche gestion promoteur) — doc_html inline.
+ * Éditable via doc_edition.php (mode Textes, icône livre).
+ */
+function fxDocRenderRefundPromoteurAside() {
+ if (!fxDocSchemaReady()) {
+ return '';
+ }
+
+ $strAnchor = fxDocRefundPromoteurAnchorClef();
+ $strPageClef = fxDocRefundPromoteurPageClef();
+ $strModClef = fxDocRefundPromoteurModClef();
+ $strLangue = fxDocLangue();
+
+ fxDocEnsurePage($strPageClef, 0, $strModClef);
+
+ $strTitre = trim((string)afficheDocTitre($strPageClef, 0, 0, $strModClef));
+ $strHtml = trim((string)afficheDocHtml($strPageClef, 0, 0, $strModClef));
+
+ $tabFallback = fxDocRefundPromoteurFallback($strLangue);
+ if ($strTitre === '' || $strTitre === '*' . $strPageClef . '*') {
+ $strTitre = $tabFallback['titre'];
+ }
+ if ($strHtml === '') {
+ $strHtml = $tabFallback['html'];
+ }
+
+ $strEditBtn = function_exists('fxAdminDocButton') ? fxAdminDocButton($strAnchor, 0) : '';
+
+ $html = 'En tant que promoteur, vous pouvez rembourser le client jusqu''à 100 % du montant de la transaction.
En revanche, les frais MS1 ne sont pas remboursés par la plateforme au promoteur. Si vous remboursez le client, vous assumez ces frais : ils restent à votre charge.
Le montant « Max remboursable » correspond au solde PayPal disponible pour cette capture, et non au remboursement des frais MS1.
',
+'compte.php', 10, 1, NOW()),
+('inscr_gestion_refund_doc', 'inscr_gestion_refund_promoteur_info', 'en', 'Refunds and MS1 fees', '',
+'As a promoter, you may refund the customer up to 100% of the transaction amount.
However, MS1 platform fees are not refunded to the promoter. If you refund the customer, you absorb those fees — they remain your responsibility.
The « Max refundable » amount is the PayPal balance available for this capture, not a reimbursement of MS1 fees.
',
+'compte.php', 10, 1, NOW());
diff --git a/superadm/php/inc_fx_paypal.php b/superadm/php/inc_fx_paypal.php
index 372c19a..160866f 100644
--- a/superadm/php/inc_fx_paypal.php
+++ b/superadm/php/inc_fx_paypal.php
@@ -1063,9 +1063,10 @@ function fxRefundComputeContext(array $recCommandes): array
* est injecte via AJAX (innerHTML n'execute pas les