---
id: object/codeunit/1073
type: object
title: Codeunit 1073 "MS - PayPal Webhook Management"
summary: Codeunit 1073 "MS - PayPal Webhook Management" in PayPalPaymentsStandard (Microsoft.Bank.PayPal). 2 public procedures, 3 events, 1 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - paypalpaymentsstandard
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 0634caef6572b52290c17eeee5acd1d6084a5da1bfde4ddfe4fd2e8343d6c7cb
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/PayPalPaymentsStandard/app/src/codeunits/MSPayPalWebhookManagement.Codeunit.al
    title: src/Apps/W1/PayPalPaymentsStandard/app/src/codeunits/MSPayPalWebhookManagement.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9909
object_type: codeunit
object_id: 1073
name: MS - PayPal Webhook Management
namespace: Microsoft.Bank.PayPal
app: PayPalPaymentsStandard
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 7
  events: 3
  subscribers: 1
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 4
  called_by: 1
  implements: 0
---

# Codeunit 1073 "MS - PayPal Webhook Management"

> Codeunit 1073 "MS - PayPal Webhook Management" in PayPalPaymentsStandard (Microsoft.Bank.PayPal). 2 public procedures, 3 events, 1 event subscribers. Introduced in BC29, still in BC30.

PayPalPaymentsStandard · Microsoft.Bank.PayPal · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/PayPalPaymentsStandard/app/src/codeunits/MSPayPalWebhookManagement.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| TableNo | Webhook Notification |
| Permissions | TableData "Webhook Subscription" = rimd |

## Events published

- `OnAfterPostPayPalPayment(var TempPaymentRegistrationBuffer: Record 981 temporary; AmountReceived: Decimal)` (integration)
- `OnAfterReceivePayPalOverpayment(var TempPaymentRegistrationBuffer: Record 981 temporary; AmountReceived: Decimal)` (integration)
- `OnBeforeRunPayPalNotificationBackgroundSession(var AllowBackgroundSessions: Boolean)` (integration)

## Event subscriptions

- SyncToNavOnWebhookNotificationInsert subscribes to Table "Webhook Notification" OnAfterInsertEvent

## Procedures

- `GetCreatedByFilterForWebhooks(): Text`
- `CollectRemainingPayments(SalesInvoiceDocumentNo: Code[20]; var PaymentRegistrationBuffer: Record "Payment Registration Buffer"): Boolean`

Plus 1 local procedures.

## Triggers

OnRun

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 1070 "MS - PayPal Standard Mgt."](../codeunit/1070.md) (2 calls: `OnRun → GetFeatureTelemetryName`, `PostPaymentForInvoice → GetPayPalPaymentMethod`)
- [Codeunit 1075 "MS - PayPal Transactions Mgt."](../codeunit/1075.md) (1 call: `OnRun → ValidateNotification`)
- [Codeunit 8703 "Feature Telemetry"](../codeunit/8703.md) (1 call: `OnRun → LogUsage`)
- [Codeunit 980 "Payment Registration Mgt."](../codeunit/980.md) (1 call: `PostPaymentForInvoice → Post`)

## Called by

- [Table 1070 "MS - PayPal Standard Account"](../table/1070.md) (2 calls: `DeleteWebhookSubscription → GetCreatedByFilterForWebhooks`, `RegisterWebhookListenerForRec → GetCreatedByFilterForWebhooks`)

## Recent changes

- 2026-08-04 [#9909 Searching for PayPal webhooks subscription is blocking the Cloud Migration](../../changes/bcapps/9909.md) (main, BC30, fix)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "MS - PayPal Webhook Management")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
