Prerequisites
- You will need an active DEAR connection with PencilPay.
- Check you have enabled "Enable Deposit Payments" in your PencilPay DEAR configuration. To do this log into your PencilPay account and go to: Integrations -> DEAR -> scroll down to "Enable Deposit Payments" and check it is enabled. If it isn't, enabled it.
- Once "Enable Deposit Payments" is enabled, you will need to check the setting "Order Authorisation Push to Pencil" is Enabled. If it isn't, enable it.
- Then you to confirm what percentage of the quote you would like your customers to pay. We recommend setting this to 100% and leave "Auto-Send Email on Authorise Quote?" disabled.
- Under "Payment Link" remember where to find the "Invoice" as you will need this link below. For the Invoice template the link is different to the Quote and Order links.
- Save any changes if you have made them before proceeding to the next step.
- You will need Microsoft Word to edit the template file.
- See screenshot below for prerequisite references.
Configuring your DEAR Quote Template
- Log into your DEAR account and go to Settings -> Documents & Email Templates
- Click on the "Sale Invoice" template and then click on "Download Template"
- Open the Word document you downloaded.
- Scroll down to the bottom of the Word template until you see
Notes:
«QuoteMemo»«TableEnd:Sale» - Put your mouse cursor the middle of the right/left double arrows «QuoteMemo»«TableEnd:Sale» and press enter to create a line break
- In the top left corner click on "Insert", which is to the right of "Home"
- Click Links -> Link -> then paste the "Invoice" Payment Link from point 5 in the Prerequisites above.
- In the "Text to Display" change the link to "Pay by PencilPay"
- Click Ok.
- Now select all in the Word document by pressing Command + A (for Mac) or Control + A (for Windows).
- Put your mouse over "Pay by PencilPay" and click your right-mouse and "Toggle Field Codes".
- Scroll to the top of the Word document and look for "Invoice No." and triple click on the {MERGEFIELD InvoiceNumber} and copy this value.
- Then scroll down to the "Pay by PencilPay" link and paste the Quote Number value after the = in "sale_id="
- Then highlight "Pay by PencilPay" again and right click on your mouse -> select "Toggle field codes" and change "SONumber" to "SaleID". Then click "Update Field" and then "Toggle Field Codes" to check the "SONumber" is showing as "SaleID".
- Mouse over the "SaleID" merge field and right mouse; click "Toggle Field Codes".
- Put your mouse at the end of "SaleID" and click on the top menu "Insert" and then click the "Insert a Field" icon.
- In the popup click on "Set" and then enter "keepme1 1" after "Set" with a space between and click Ok.
- Mouse over the "SaleID", click the right mouse and "Update Field Codes".
- Then after "&invoice_number=" copy and paste the "InvoiceNumber".
- Save your document with a new name, eg. PencilPay Sale Invoice.
- Then go back into DEAR -> Settings -> Documents & Email Templates -> click the "+ New Template"
- Update these settings:
- Template Type = Sale invoice
- Template Name = PencilPay Sale Invoice
- Select your new template in "Choose document template"
- Scroll down and click Save
- Next in DEAR you can go to Sale -> Sales -> find a Sale that is at Invoice stage or add a new Sale. Authorise the Invoice and then either click "E-Mail" or "Print" (this is faster for testing) and send or print/download a copy of the quote.
- Open the quote PDF and scroll to the bottom and click on the "Pay by PencilPay" link.
- This will open up to the payment page to enter your payment details or authorise if the customer has signed up.
To update the Sale Quote click here.
To update the Sale Order click here.