feature(venmo): supportsVenmoPopups and supportedNativeVenmoBrowser props #2575
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is the purpose of this PR?
Adds two props to button component for Venmo:
Jira Ticket: https://paypal.atlassian.net/browse/DTPPCPSDK-3139
Type of change
Testing Plan
Below is information that validates the successful implementation of this feature and how a release manager can validate the success of a release candidate in the absence of the PR author.
PR Author: https://paypal.enterprise.slack.com/team/W013SUFRA1X
Backup Validator: https://paypal.enterprise.slack.com/team/W0180EVTD2A
PR Author's Team: Venmo Web Team
PP Test Page URL: https://github.paypal.com/pages/Core-SDK/paypalsdktestingnodeweb/?path=/story/button-rebrand-smart-stack-layout--vertical&globals=sdkEnvironment:testEnv;testEnvName:te-sdk-release-5-0-
BE SURE TO PUT VERSION IN URL ABOVE
Venmo Test Page URL:
https://github.paypal.com/pages/Core-SDK/paypalsdktestingnodeweb/?path=/story/no-code-buttons-ncps--button-one&globals=testEnvName:te-sdk-release-5-0-507
OR
https://www.cibns.stage.paypal.com/xo-integrations/venmo
**NOTE:**Check the following with SDK Namespace paypal and paypalRebrand
Step-by-Step Validation for iOS/Chrome change using PP test page
iOS
Step one: Select SmartStack->layout->vertical
Step two: Select paypal namespace
Step three: Verify Venmo button is rendered, no errors in console and /js and /buttons return successfully
Step one: Select SmartStack->layout->vertical
Step two: Select paypalRebrand namespace
Step three: Verify Venmo button is rendered, no errors in console and /js and /buttons return successfully
Step-by-Step Validation for Firefox change using PP test page
iOS
Step one: Select SmartStack->layout->vertical
Step two: Select paypal namespace
Step three: Verify Venmo button is not rendered, no errors in console and /js and /buttons return successfully
Step one: Select SmartStack->layout->vertical
Step two: Select paypalRebrand namespace
Step three: Verify Venmo button is not rendered, no errors in console and /js and /buttons return successfully
Android
Step one: Select SmartStack->layout->vertical
Step two: Select paypal namespace
Step three: Verify Venmo button is not rendered, no errors in console and /js and /buttons return successfully
Step one: Select SmartStack->layout->vertical
Step two: Select paypalRebrand namespace
Step three: Verify Venmo button is not rendered, no errors in console and /js and /buttons return successfully
Default browser validation
Follow same steps above but with iOS/Safari and Android/Chrome
Screenshots
iOS/Firefox:

iOS/Safari, Android/Chrome, Android/Firefox, iOS/Chrome:

E2E Test Recording
DataDog Graph to Monitor
https://paypal-prod.datadoghq.com/dashboard/5ut-fm5-pu4/paypal-web-sdk?fromUser=false&refresh_mode=sliding&from_ts=1751407301386&to_ts=1752012101386&live=true
CAL Logs & Regex
Rollback Considerations
Are there any services dependent on this change?