post_status === 'failed'): ?>
= __('Donation Failed', 'give') ?>
= esc_html__('We\'re sorry, your donation failed to process. Please try again or contact site support.', 'give') ?>
heading; ?>
message; ?>
getLineItems()) {
continue;
}
if ('PDFReceipt' === $section->id) {
$pdfReceiptLinkDetailItem = $section['receiptLink'];
continue;
}
echo '
';
if ($section->label) {
printf('
%1$s
', $section->label);
}
echo '
';
/* @var LineItem $lineItem */
foreach ($section as $lineItem) {
// Continue if line item does not have value.
if (!$lineItem->value) {
continue;
}
$detailRowClass = sanitize_title($lineItem->id) . '-row';
// This class is required to highlight total donation amount in receipt.
if (DonationReceipt::DONATIONSECTIONID === $section->id) {
$detailRowClass .= ('totalAmount' === $lineItem->id ? ' total' : '');
}
printf(
'
',
$detailRowClass,
$lineItem->icon,
$lineItem->label,
$lineItem->value
);
}
echo '
';
echo '
';
}
?>
value; ?>