Skip to content
Log in

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 to pos, the customer cannot pay on that page.

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.

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.

  1. 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.

    Pay now

    ```

  2. Open the Store record.
  3. In the Transactional Emails related list, select New.
  4. Set Checkout Step to pos-finalized.
  5. Leave Cart Abandoned unchecked.
  6. Set Order Status to the status your POS orders are created with. This is Draft unless your org has changed the default Order status.
  7. Set Classic Email Template API Name to the API name of the template you created in step 1.
  8. Check Enabled.
  9. 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?

Was this article helpful?