MSIN-4417 Refactor refund handling in registration management to support event context
This commit enhances the refund functionality by introducing event context handling for refunds. It updates the logic to ensure that refunds are linked to the correct event, improving authorization checks and refund calculations. Additionally, the refund context is now passed through various functions to ensure accurate processing. The version code is incremented to 4.72.718 to reflect these changes.
This commit is contained in:
@ -412,7 +412,7 @@ if (!isset($CAPTURE_ID) || !is_string($CAPTURE_ID) || $CAPTURE_ID === '') {
|
||||
}
|
||||
|
||||
// Contexte de remboursement mutualisé (calculs + détails PayPal)
|
||||
$refundCtx = fxRefundComputeContext($recCommandes);
|
||||
$refundCtx = fxRefundComputeContext($recCommandes, 0, true);
|
||||
$paypaldetails = $refundCtx['paypaldetails'];
|
||||
|
||||
// Auteur du remboursement (Super Admin connecté) : alimente l'encart "Ajouté par".
|
||||
|
||||
Reference in New Issue
Block a user