Step 4: Real-Time Webhook Setup

Webhooks ensure that background events—such as ACH payment settlements, settlement declines, disbursement exceptions, and disputes—are automatically synchronized with Odoo in real time.

Webhook Endpoint Setup

  1. Open the Braintree - ACH Direct Debit provider form.

  2. Under the Configuration tab, copy the value from the Webhook URL field (e.g., https://your-domain.com/payment/braintree/webhook).

  3. Log in to your Braintree Control Panel.

  4. Navigate to Settings ‣ Webhooks ‣ New Webhook.

  5. Paste the Destination URL.

  6. Select the following notification events: - Transaction Settled - Transaction Settlement Declined - Disbursement - Disbursement Exception - Dispute Opened - Dispute Lost - Dispute Won

    Braintree Control Panel Webhook Setup
  7. Click Save Webhook and test the URL.

Security & Validation

Every webhook request received by Odoo is verified against Braintree’s official HMAC signature to prevent unauthorized or forged requests.