Update the header or footer design using the WYSIWYG editors.
- Header Design (label) is used for anything above the payment form.
- Add Text to Payment Link Page (label) is used for anything below the payment form.
Custom Header
When dealing multiple brands on the sales order or invoice, include conditional logic on the record type fields to specify appropriate content.
<#if record.custbody2=='Offline Order'>
<img src="https://www.novamodule.com/novamodule-logo.png">
<#else>
<img src="https://www.novamodule.com/PayPack-Logo.png">
<#if>Custom Footer
Add custom footer text using text area field Add Text to Payment Link Page.
Error Page
Additionally customize footer text on the error page by using text area field Add Text to Error Page.
Payment Confirmation Page
Page Header Design
Additionally customize header text on the confirmation page by using text area field Payment Confirmation Page Header Design.
To hide the PRINT button and alert message, use the below CSS styles.
<style>
.alert { display:none; }
.nm-payconfirm-btn { display:none; }
</style>Auto-close Browser Tab
Need to add custom text to the body of the payment confirmation page or auto-close browser tab? See the below example for reference.
To automatically close the browser tab after 3 seconds, copy and paste the example paragraph and script into the text area field.
Implementation Note: Copy into the text field without using the source code editor option.
<p>This tab will close in 3 seconds...</p> <script> setTimeout(() => { window.close(); }, 3000); </script>Limited Capability: The automatic tab-closure feature only works if the payment link was opened in the exact same browser window. It may not work if opened in a new tab, a different window, or certain mobile browsers.