---
id: object/codeunit/1070
type: object
title: Codeunit 1070 "MS - PayPal Standard Mgt."
summary: Codeunit 1070 "MS - PayPal Standard Mgt." in PayPalPaymentsStandard (Microsoft.Bank.PayPal). 14 public procedures, 11 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: f0c9a17edf3c5f456e3279e978e187401e6ed447e1904112487bac03ad3c6314
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/PayPalPaymentsStandard/app/src/codeunits/MSPayPalStandardMgt.Codeunit.al
    title: src/Apps/W1/PayPalPaymentsStandard/app/src/codeunits/MSPayPalStandardMgt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 1070
name: MS - PayPal Standard Mgt.
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: 35
  events: 0
  subscribers: 11
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 12
  called_by: 8
  implements: 0
---

# Codeunit 1070 "MS - PayPal Standard Mgt."

> Codeunit 1070 "MS - PayPal Standard Mgt." in PayPalPaymentsStandard (Microsoft.Bank.PayPal). 14 public procedures, 11 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/MSPayPalStandardMgt.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| TableNo | Payment Reporting Argument |
| Permissions | TableData "Payment Method" = rimd, TableData "Payment Reporting Argument" = rimd |

## Event subscriptions

- OnInsertPayPalStandardAccount subscribes to Table "MS - PayPal Standard Account" OnAfterInsertEvent
- RegisterPayPalStandardAccounts subscribes to Table "Payment Service Setup" OnRegisterPaymentServices
- RegisterPayPalStandardTemplateOnRegisterPaymentServiceProviders subscribes to Table "Payment Service Setup" OnRegisterPaymentServiceProviders
- NewPaymentAccount subscribes to Table "Payment Service Setup" OnCreatePaymentService
- RegisterServiceConnection subscribes to Table "Service Connection" OnRegisterServiceConnection
- RegisterBusinessSetup subscribes to Codeunit "Guided Experience" OnRegisterManualSetup
- GetPaypalAccount subscribes to Codeunit "Paypal Account Proxy" GetPaypalAccount
- HandleSetAlwaysIncludePaypalOnDocuments subscribes to Codeunit "Paypal Account Proxy" SetAlwaysIncludePaypalOnDocuments
- HandleOnDoNotIncludeAnyPaymentServicesOnAllDocuments subscribes to Table "Payment Service Setup" OnDoNotIncludeAnyPaymentServicesOnAllDocuments
- HandleGetPaypalSetupOptions subscribes to Codeunit "Paypal Account Proxy" GetPaypalSetupOptions
- SetPaypalAccountOnSetPaypalAccount subscribes to Codeunit "Paypal Account Proxy" SetPaypalAccount

## Procedures

- `GetFeatureTelemetryName(): Text` (internal)
- `GetTemplate(var TempMsPayPalStandardTemplate: Record "MS - PayPal Standard Template" temporary)`
- `TemplateAssignDefaultValues(var MsPayPalStandardTemplate: Record "MS - PayPal Standard Template")`
- `GetPayPalPaymentMethod(var PaymentMethod: Record "Payment Method")`
- `RunPaymentRegistrationSetupForce()` (internal)
- `RegisterPayPalStandardTemplate(var PaymentServiceSetup: Record 1060)`
- `ValidateChangeTargetURL()`
- `IsValidAndSecureURL(URL: Text): Boolean`
- `GetTargetURL(): Text`
- `SendSendSetupWebhooksNotification()` (internal)
- `GetSandboxURL(): Text`
- `WebhooksLearnMore(Notification: Notification)`
- `DontShowAgainWebhooks(Notification: Notification)`
- `SetPaypalAccount(Account: Text[250]; Silent: Boolean)`

Plus 10 local procedures.

## Triggers

OnRun

## Relations

- runs on [Table 1062 "Payment Reporting Argument"](../table/1062.md)

## 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 1299 "Web Request Helper"](../codeunit/1299.md) (3 calls: `IsValidAndSecureURL → IsHttpUrl`, `IsValidAndSecureURL → IsSecureHttpUrl`, `IsValidAndSecureURL → IsValidUri`)
- [Codeunit 1306 "Company Information Mgt."](../codeunit/1306.md) (2 calls: `GetTargetURL → IsDemoCompany`, `ValidateChangeTargetURL → IsDemoCompany`)
- [Codeunit 8703 "Feature Telemetry"](../codeunit/8703.md) (2 calls: `GenerateHyperlink → LogUsage`, `OnRun → LogUptake`)
- [Codeunit 10 "Type Helper"](../codeunit/10.md) (1 call: `UriEscapeDataString → UriEscapeDataString`)
- [Codeunit 1990 "Guided Experience"](../codeunit/1990.md) (1 call: `RegisterBusinessSetup → InsertManualSetup`)
- [Codeunit 2105 "O365 Sales Invoice Payment"](../codeunit/2105.md) (1 call: `SetPaypalAccount → UpdatePaymentServicesForInvoicesQuotesAndOrders`)
- [Codeunit 457 "Environment Information"](../codeunit/457.md) (1 call: `ValidateChangeTargetURL → IsSaaS`)
- [Codeunit 5377 "Webhook Management"](../codeunit/5377.md) (1 call: `GetNotifyURL → GetNotificationUrl`)
- [Codeunit 701 "Data Type Management"](../codeunit/701.md) (1 call: `GenerateHyperlink → GetRecordRef`)
- [Codeunit 980 "Payment Registration Mgt."](../codeunit/980.md) (1 call: `RunPaymentRegistrationSetupForce → RunSetup`)
- [Page 1070 "MS - PayPal Standard Setup"](../page/1070.md) (1 call: `NewPaymentAccount → (object)`)
- [Page 982 "Payment Registration Setup"](../page/982.md) (1 call: `RunPaymentRegistrationSetupForce → (object)`)

## Called by

- [Codeunit 1072 "MS - PayPal Create Demo Data"](../codeunit/1072.md) (3 calls: `InsertDemoPayPalAccount → GetTemplate`, `InsertSandboxPayPalTemplate → GetSandboxURL`, `InsertSandboxPayPalTemplate → TemplateAssignDefaultValues`)
- [Page 1070 "MS - PayPal Standard Setup"](../page/1070.md) (3 calls: `OnAfterGetCurrRecord → SendSendSetupWebhooksNotification`, `OnOpenPage → GetFeatureTelemetryName`, `OnOpenPage → GetTemplate`)
- [Page 1074 "MS - PayPal Standard Settings"](../page/1074.md) (3 calls: `OnAfterGetCurrRecord → GetSandboxURL`, `OnOpenPage → GetTemplate`, `OnOpenPage → RegisterPayPalStandardTemplate`)
- [Codeunit 1073 "MS - PayPal Webhook Management"](../codeunit/1073.md) (2 calls: `OnRun → GetFeatureTelemetryName`, `PostPaymentForInvoice → GetPayPalPaymentMethod`)
- [Table 1071 "MS - PayPal Standard Template"](../table/1071.md) (2 calls: `SetLogoURL → IsValidAndSecureURL`, `SetTargetURL → IsValidAndSecureURL`)
- [Page 1071 "MS - PayPal Standard Template"](../page/1071.md) (1 call: `OnOpenPage → GetTemplate`)
- [Page 1073 "MS - PayPal Standard Accounts"](../page/1073.md) (1 call: `OnOpenPage → GetFeatureTelemetryName`)
- [Table 1070 "MS - PayPal Standard Account"](../table/1070.md) (1 call: `SetTargetURL → IsValidAndSecureURL`)

## 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 Standard Mgt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
