Customize the Header & Footer

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

PayPack Payment Link - Header Design.png

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.Add Text to Payment Link Page.png


Error Page

Additionally customize footer text on the error page by using text area field Add Text to Error Page.Add Text to Error Page.png

Example Text on Page.png

Payment Confirmation Page

Page Header Design

Additionally customize header text on the confirmation page by using text area field Payment Confirmation Page Header Design.

Payment Confirmation Page Header Design.png

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.

Add Text to Payment Confirmation Page.png

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.

Was this article helpful?
0 out of 0 found this helpful

More resources