Loading
PHP Vulnerability Monitoring Read More
PaymentIntentEvent Reference

PaymentIntentEvent Reference

PaymentIntentEvent is a public platform event that Salesforce Payments publishes when a payment capture succeeds.

Required Editions

View supported product editions.

PaymentIntentEvent signals downstream systems that Salesforce can apply a payment to an invoice and a fee.

Publisher and Subscriber

Salesforce Payments publishes the event automatically after it captures a payment through a configured gateway. You don't need to configure anything.

An out-of-the-box subscriber ships with Inbound Payments. The subscriber reconciles the captured payment with the related Regulatory Transaction Fee record and Invoice record. For the sequence of steps that the subscriber performs, see How Payment Reconciliation Works.

Subscription Options

PaymentIntentEvent is a public event, so you can subscribe your own automation to it. Subscribe by using either of these options.

  • An Apex trigger on PaymentIntentEvent
  • A platform event-triggered flow on PaymentIntentEvent

Use PaymentIntentEvent to trigger custom logic on payment capture. For example, send a downstream integration message, create a follow-up task for an agency employee, or update an unrelated record.

Note
Note Custom subscribers run in parallel with the out-of-the-box subscriber. Custom logic doesn't block or replace standard reconciliation.
 
Loading
Salesforce Help | Article