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.
Description
This PR adds a Venmo overlay component as requested in DTPPCPSDK-1254. It will be used for all Venmo button clicks, including Venmo Web use cases. The goal was to mimic the look and behavior of the BT SDK Venmo overlay in the PP SDK.
It was decided by Product that we should hard code English for now (English is currently the only language supported by Venmo), and that we should completely separate styles despite there being some duplication with the PayPal overlay.
Screenshots
Here's a video demonstrating switching between the PayPal and Venmo overlays, including still displaying English in the Venmo overlay after setting the browser language (i.e.
navigator.language
) to Spanish:Screen.Recording.2023-11-03.at.12.42.16.PM.mov
Dependent Changes
paypal/paypal-common-components#84 needs to be merged and published first.