Build an API for Fundraising to trigger Invoice creation from Salesforce to Stripe.
This is an invocable method that will
Invoice API with Fundraising Extension Process Flow
Invoice API Data Flow
Create invoice
Create invoice item
Pay invoice
This API will only do the callouts unto the stripe system and not create a single gateway invoice record upon execution. When an invoice is created in the Stripe system, we utilize webhook to pass an event (with the complete invoice details) to PosiPay. PosiPay will translate the raw JSON response from the webhook and create its gateway invoice record in Salesforce.
Gateway Invoice Mapping (Salesforce → Stripe)
Gateway Invoice Field | Response Field |
---|---|
Amount Paid |
|
Invoice ID | |
Invoice Status |
|
Payment Intent ID |
|