---
schema_version: "1"
id: cc0cd7ab8e100bcc320773873aa72e45949e97319b8cc2fae8495f6153dfb192
title: Generate a Pay Now Payment Link
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/pay_now_generate_link.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.pay_now_generate_link.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0b98c3efe0a04b161fdc7f6c1787f9b3ddf91bcf3745856ebb58ff5de036d2eb
description: To create payment links, use the Generate Payment Link flow in Flow Builder. This flow automates payment link generation. You can also customize the flow to pass custom metadata with a payment link. The third-party payment gateway uses this custom data to reconcile transactions and track invoices.
products:
  - Salesforce Payments
  - Commerce
release: "264"
---
# Generate a Pay Now Payment Link

To create payment links, use the Generate Payment Link flow in Flow Builder. This flow automates payment link generation. You can also customize the flow to pass custom metadata with a payment link. The third-party payment gateway uses this custom data to reconcile transactions and track invoices.

### 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;"><a href="https://help.salesforce.com/s/articleView?id=commerce.payments_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

1. At the top of the page, click ![Setup](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-payments-264-0-0-production-enus/c04ba30f-6dde-4ea7-949b-4f77b22b9fcb/payments/images/payments_setup_icon_no_border.png) and click Setup.
2. In the Quick find box, enter then select Flows.
3. Click **Run** to run the flow, then select which type of payment link you want to create.
    
    The predefined amount link is available for an org with Payments on its own, or with Payments and Commerce. A With Products link is available only for an org with Payments and Commerce.
4. Complete the payment link form.
    1. Enter a pay now page title, such as your company name.
    2. For Predefined Amount link, enter the amount the customer owes.
    3. Enter a description to display on the payment page, such as a thank you message or a date when the payment is due.
    4. Accept the default payment method set key, or choose another one from the list.
        
        The payment method set and key are assigned when you set up your Pay Now store. The set contains the payment methods you selected for your merchant account. To use a different set, go to the Related tab of the merchant account record, create a new payment method set, and enter that key to override the default.
    5. (Optional) Select whether you want the link to expire after a single use or after a specific date and time.
    6. For a With Products link, select the products that the customer purchased.
    7. For a With Products link, specify the link status.
5. Generate the link.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-payments-264-0-0-production-enus/c04ba30f-6dde-4ea7-949b-4f77b22b9fcb/images/icon_example.png)

Example

Here is an example of a completed Predefined Amount link form.

![Predefined amount payment link generation form](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-payments-264-0-0-production-enus/c04ba30f-6dde-4ea7-949b-4f77b22b9fcb/payments/images/pay_now_predefined_amnt_form.png)

To customize the flow, select the Generate Payment Link flow, save it under a new name, then modify it. You can also build your own application workflow using the Payment Link object and a Salesforce declarative tool, such as Flow or Quick Actions. You can also use a developer tool, like Apex invocable actions.

You can also generate a Pay Now link for an invoice, configure the business account ID and payment settings to associate payments with the correct business account in Billing. See [Generate Pay Now Payment Links for Business Accounts](https://help.salesforce.com/s/articleView?id=ind.billing_generate_pay_now_payment_links_for_business_accounts.htm&language=en_US).