---
schema_version: "1"
id: 99ba0241daabfe8aaa5f927daa007f513592958db886e8a09affed6d3ba9f494
title: Integrate Pay Now with Field Service Appointment Assistant
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/mfs_appointment_assistant_payments.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.mfs_appointment_assistant_payments.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b580fe15df057a4fa44a5497dffcb6c661c6b1550284efaa836988cb261ff271
description: Create a flow that easily enables your customers to pay for services through a provided link, eliminating the need to contact customer services.
products:
  - Field Service
release: "264"
---
# Integrate Pay Now with Field Service Appointment Assistant

Create a flow that easily enables your customers to pay for services through a provided link, eliminating the need to contact customer services.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">The Field Service core features, managed package, and mobile app are available in <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Salesforce Payments is available in <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Salesforce Payments and Pay Now licenses are required.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d80961e90">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d80961e90 ">To open, edit, or create a flow in Flow Builder:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d80961e90 ">Manage Flow</td>

          </tr>
        </tbody>
      </table>

Before you begin, complete these steps.

- Set up [Salesforce Payments](https://help.salesforce.com/s/articleView?id=commerce.payments_setup_intro.htm&type=5&language=en_US).
- Set up [Salesforce Pay Now](https://help.salesforce.com/s/articleView?id=commerce.pay_now_intro_prereqs.htm&type=5&language=en_US).

Set up a flow that sends customers a payment link.

1. From Setup, in the Quick Find box, enter Process Automation, and then select **Flows**.
2. Click **New Flow**.
3. Select what triggers the flow. For example, set up a flow that’s triggered when the status of a Work Order changes to Completed.
    
    To track the payment’s intent, we recommend connecting the triggered object, in this example Work Order, to the Payment Link object.
4. Add an element that gets the Merchant Account Payment Method Set record. If multiple records exist, make sure that only one is retrieved. For example, get the last modified record.
    
    Only the last modified Merchant Account Payment Method Set that isn’t deleted and has a Payment Method Set Key is fetched. If multiple Merchant Account Payment Method Set records are active, set up the component to fetch the correct one.
5. Add an element that creates a payment link record.
    1. Determine where the amount is taken from. In our example, it can be taken from the Total Amount field on the work order.
    2. Use the Merchant Account Payment Method Set as the payment method set ID.
    3. Set the status to Active.
    4. Set the Usage Type to Single Use.
    5. Enter the connected object, for example, Work Order ID.
        
        To track the payment’s intent and the links generated to collect payment, we recommend adding a connection between the Payment Link object and the relevant object, in our example, the Work Order.
6. Add an element that sends the customer an email or an SMS that includes the Payment URL field from the Payment Link object.

Here’s an example of what the flow looks like.

![Payment flow](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/support_field_service/images/mfs_aa_payments_flow.png)