How to add the PencilPay link to your DEAR Sale Quote Template

Prerequisites

  1. You will need an active DEAR connection with PencilPay.
  2. 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.
  3. Once "Enable Deposit Payments" is enabled, you will need to check the setting "On Quote Authorisation Push to Pencil" is Enabled. If it isn't, enable it.
  4. 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.
  5. Under "Payment Link" remember where to find the "Quote" as you will need this link below.
  6. Save any changes if you have made them before proceeding to the next step.
  7. You will need Microsoft Word to edit the template file.
  8. See screenshot below for prerequisite references.

Configuring your DEAR Quote Template

  1. Log into your DEAR account and go to Settings -> Documents & Email Templates
  2. Click on the "Sale Quote" template and then click on "Download Template"
  3. Open the Word document you downloaded.
  4. Scroll down to the bottom of the Word template until you see
    Notes:
    «QuoteMemo»«TableEnd:Sale»
  5. Put your mouse cursor the middle of the right/left double arrows «QuoteMemo»«TableEnd:Sale» and press enter to create a line break
  6. In the top left corner click on "Insert", which is to the right of "Home"
  7. Click Links -> Link -> then paste the "Quote" Payment Link from point 5 in the Prerequisites above.
  8. In the "Text to Display" change the link to "Pay by PencilPay"
  9. Click Ok.
  10. Now select all in the Word document by pressing Command + A (for Mac) or Control + A (for Windows).
  11. Put your mouse over "Pay by PencilPay" and click your right-mouse and "Toggle Field Codes".
  12. Scroll to the top of the Word document and look for "Quote Number" and triple click on the {MERGEFIELD SONumber} and copy this value.
  13. Then scroll down to the "Pay by PencilPay" link and paste the Quote Number value after the = in "sale_id="
  14. 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".

  15. Mouse over the "SaleID" merge field and right mouse; click "Toggle Field Codes".
  16. Put your mouse at the end of "SaleID" and click on the top menu "Insert" and then click the "Insert a Field" icon.
  17. In the popup click on "Set" and then enter "keepme1 1" after "Set" with a space between and click Ok.
  18. Mouse over the "SaleID", click the right mouse and "Update Field Codes".
  19. Then after "&invoice_number=" copy and paste the "InvoiceNumber".
  20. Save your document with a new name, eg. PencilPay Sale Quote.
  21. Then go back into DEAR -> Settings -> Documents & Email Templates -> click the "+ New Template"
  22. Update these settings:
    1. Template Type = Sale Quote
    2. Template Name = PencilPay Sale Quote
    3. Select your new template in "Choose document template"
    4. Scroll down and click Save
  23. Next in DEAR you can go to Sale -> Sales -> find a Sale that is at Quote stage or add a new Sale. Authorise the Quote and then either click "E-Mail" or "Print" (this is faster for testing) and send or print/download a copy of the quote.
  24. Open the quote PDF and scroll to the bottom and click on the "Pay by PencilPay" link.
  25. 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 Invoice click here.

To update the Sale Order click here.