You are here:
Recording Payment Run Results
When a payment run has finished processing a gateway call, Salesforce Billing updates payment run status fields on the invoice, payment, and any resulting payment transactions. Payment run status fields let you review the result of the call and whether there were any issues. You can use this information to take corrective action on unsuccessful calls and record responses in external sources. (Salesforce Billing Managed Package)
Invoice
- Corrective Action (Payment Run)
- This field shows Action Required if the payment gateway encountered an error or received an indeterminate response when attempting to create a payment for this invoice. While this field has a value of Action Required, payment runs ignore the invoice. If your transaction attempt was indeterminate but succeeded in the payment gateway, you can finalize the payment by manually creating a payment and allocating it against the invoice. If the payment transaction failed, or was indeterminate and failed in the payment gateway, you can click Attempt Refund and Unlock Invoice to refund any settled payments in the gateway, change the corrective action to null, and enable the invoice for future payment runs.
- Declined Payment Count (Payment Run)
- When a payment run related to this invoice creates a payment transaction with a gateway status of Decline, Salesforce Billing increases the invoice's declined payment count by 1.
- Last Payment Run
- Shows the ID of the last payment run that evaluated the invoice.
- Last Payment Run Processing Message
- Shows the result of the last batch action for the payment run evaluating the invoice.
- Payment Run
- Shows the ID of the payment run that is processing the invoice.
- Payment Run Processing Message
- Shows the result of the batch action for the payment run that is processing the invoice.
Payment Run
- Invoices Processed
- The number of invoices that the payment run processed after all of its batch processes finished.
- Successful Transactions
- The number of payment transactions that the payment run created with a gateway status of Successful.
- Failed Transactions
- The number of payment transactions that the payment run created with statuses other than Successful.
- Total Payments Processed
- The number of payment records created across all the payment run's successful transactions.
- Completed Time
- The amount of time that it took for all of the payment run's batch processes to finish.
- Status
- Shows whether the payment run finished successfully. If the payment run failed, you have several options for clearing unfinished processes, correcting the errors, and trying the run again.

