Loading
Feature degradation | Gmail Email delivery failureRead More
Manage Your Billing Processes with Salesforce Billing
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Payment Run Steps

          Payment Run Steps

          When a payment run finishes selecting invoices, it begins processing each invoice for payment. The payment evaluation process consists of several steps. (Salesforce Billing Managed Package)

          Required Editions

          Available in: All Salesforce Billing Editions

          For each invoice included in a payment run, Salesforce Billing performs the following steps.

          1. Sets invoice’s payment run ID to the ID of the current payment run, and then updates the invoice’s payment run processing message based on the most recently completed payment run batch action.
          2. Sends a transaction request to the account’s external payment gateway, and then creates a payment transaction to record the response.
          3. If the gateway authorization is successful, waits for the payment gateway to send a response, and then records it in the payment transaction.
            1. If the response was successful, creates a payment with a balance equal to the invoice’s balance. Changes the payment transaction’s Authorization field to SUCCESS.
            2. If the response failed or was indeterminate, logs the response details in the payment transaction. Users can take corrective action based on the type of failed or indeterminate response.
          4. For successful payment transactions, attempts to create a payment and allocate it to the target invoice.
            1. If Advanced AR Application is enabled in Salesforce Billing package settings, allocates the payment to the target invoice’s invoice lines.
            2. If Advanced AR Application is disabled, allocate the payment to the target invoice’s invoice header.

          The payment run workflow

          After the payment run finishes evaluating all eligible invoices, it updates the following fields on the payment run detail page.

          • Invoices Processed
          • Successful Transactions
          • Total Payments Processed
          • Completed Time
          • Status
           
          Loading
          Salesforce Help | Article