Skip to content

Conversation

@kkatepallypaypal
Copy link
Contributor

@kkatepallypaypal kkatepallypaypal commented Sep 22, 2025

What is the purpose of this PR?

To support observability for BT JS SDK app-switch integration, the following query parameters must be included in the app switch universal link:

source: bsdk
merchant: id of merchant
flow_type: va/ecs

Jira Ticket: https://paypal.atlassian.net/browse/DTNFSPEED-518

This change was based on the signoff provided as stated in this confluence ,
https://paypal.atlassian.net/wiki/spaces/~712020bf3722d704414ecfa7688c73d80a4e73/pages/2693601182/Proposed+solution+to+add+new+params+to+Universal+appswitch+link

Test Recording Video
https://github.com/user-attachments/assets/5483c41b-ef48-428a-98d2-7ab4ae16c141

@kkatepallypaypal kkatepallypaypal marked this pull request as ready for review September 22, 2025 22:20
@kkatepallypaypal kkatepallypaypal requested a review from a team as a code owner September 22, 2025 22:20

sdkSource: {
type: "string",
value: () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the short form would work here, since sdkSourceValue isn't used anywhere else (and increases memory usage for a time):

Suggested change
value: () => {
value: () => getSDKIntegrationSource(),

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nbierdeman Updated accordingly, Thanks


sdkSource: {
type: "string",
value: () => getSDKIntegrationSource(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit : There is generally no specific reason to create an inline function here.

@kkatepallypaypal kkatepallypaypal merged commit 06b7094 into main Sep 23, 2025
4 checks passed
@kkatepallypaypal kkatepallypaypal deleted the add-sdk-source branch September 23, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants