Data Flow
How to set up webhook in the Stripe Dashboard
Go to Developers > Webhooks > Add endpoint.
When the Add endpoint is clicked, the image below will be shown
Expected Stripe Objects
Charge
Invoice
Payouts
You must select what event to listen to for the selected object. Each object has different events, so carefully select what is only needed → as much as possible do not select all events available.
Invoices
Fundraising Extension uses invoices for gift transaction scheduled payments. PosiPayments needs to have a facility to listen to any invoice events.
The payload is sent out to salesforce from the stripe webhook.
Invoice payments can:
Request payment on specific future dates Automatically charge a payment
Enable the following events on the invoice object:
1. invoice.created
2. invoice.payment_failed
3. invoice.payment_succeeded
When an invoice is created
When an invoice is updated to paid.
When the payment of an invoice is successfully charged.
Payouts
After the payment, several things can happen. If the payment succeeds normally, you can focus on payout options from Stripe, sending email receipts, and triggering workflows to fulfill the customer’s order. When it’s more complicated, Stripe provides guidance for things like declined cards, refunds, disputes, and fraud. More about payouts here
How to configure payouts on your dashboard
Go to Balances and click Manage. See the sample screenshot below.
When the Manage payout schedule is clicked, a user can select either manual or automatic.
More details about the payout schedule are here.