Set up pay by link for POS
On this page
Pay by link lets staff send a customer a link to pay for a POS sale on their own phone or computer, either by email or as a QR code at the counter. Use this process to set it up once for your store, before staff take payment with a payment link.
To show a QR code, your store needs a payment provider set up for web payments. To email the link, you also create a transactional email, because none is included by default.
Before you start
- Your store has an active payment provider whose Channels field is blank or includes
web. The customer pays on the store’s order payment page through this provider. If every active provider is limited topos, the customer cannot pay on that page.
Check that pay by link is turned on
Pay by link is available at the register by default. It is hidden only when the store variable pos.payment_options.pay_by_link.enabled is set to False. If your store has that variable, set it to True or delete it. See enable or disable a payment method. If the variable does not exist, no action is needed.
Set up the payment link email
Email payment link does not send an email from the register. It marks the order for a POS email, and Salesforce sends the enabled Transactional Email on your store whose trigger values match the order. Do this once per store.
-
In Salesforce, create a Classic Email Template for the email. It must include the order’s Payment Link field (
s_c__Payment_Link__c), which holds the full address of the order’s payment page. See Transactional emails for working with the templates. For example:```html
Your order {!relatedTo.OrderReferenceNumber} is ready to pay.
```
- Open the Store record.
- In the Transactional Emails related list, select New.
- Set Checkout Step to
pos-finalized. - Leave Cart Abandoned unchecked.
- Set Order Status to the status your POS orders are created with. This is
Draftunless your org has changed the default Order status. - Set Classic Email Template API Name to the API name of the template you created in step 1.
- Check Enabled.
- Select Save.
The same email sends whenever staff email a receipt for any other incomplete POS order, such as a sale with a deposit paid, so write the template for any order with a balance owing.
Pay by link now shows at checkout on every register for the store, and selecting Email payment link sends the customer your template with a working Pay now link to the order’s payment page.
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.