Skip to content

add label for pay now or later#2600

Draft
delbarrow wants to merge 9 commits intomainfrom
feature/paynoworlater-label
Draft

add label for pay now or later#2600
delbarrow wants to merge 9 commits intomainfrom
feature/paynoworlater-label

Conversation

@delbarrow
Copy link
Contributor

@delbarrow delbarrow commented Feb 23, 2026

Description

Display a new cobranded Buy Now Pay Later label on the PayPal button when the merchant is eligible for Pay Later and the experiment is enabled. This label is unique to the PayPal button and is separate from the existing standalone Pay Later button.

Why are we making these changes? Include references to any related Jira tasks or GitHub Issues

Ticket: DTPPCPSDK-5700

Reproduction Steps (if applicable)

  1. Render the paypal button with paylater eligibility
  2. New "Pay Now or Later" label should display if no other label than just the 'paypal' label is selected.
  3. Label should render on smart stack as well

Screenshots (if applicable)

Screenshot 2026-02-25 at 11 56 06 AM Screenshot 2026-02-25 at 11 21 39 AM

Dependent Changes (if applicable)

Groups who should review (if applicable)

❤️ Thank you!

@delbarrow delbarrow requested a review from nikrom17 February 25, 2026 17:59
@codecov
Copy link

codecov bot commented Feb 25, 2026

Codecov Report

❌ Patch coverage is 70.58824% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.44%. Comparing base (a1c952c) to head (4c4ae6e).
⚠️ Report is 91 commits behind head on main.

Files with missing lines Patch % Lines
src/ui/buttons/props.js 77.77% 2 Missing ⚠️
src/funding/content.jsx 0.00% 1 Missing ⚠️
src/funding/paypal/template.jsx 75.00% 1 Missing ⚠️
src/ui/buttons/button.jsx 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2600      +/-   ##
==========================================
- Coverage   54.51%   53.44%   -1.08%     
==========================================
  Files         162      110      -52     
  Lines       16365     2758   -13607     
  Branches     1083      933     -150     
==========================================
- Hits         8922     1474    -7448     
+ Misses       7330     1150    -6180     
- Partials      113      134      +21     
Flag Coverage Δ
jest 29.06% <70.58%> (+1.57%) ⬆️
karma 56.28% <61.53%> (+0.62%) ⬆️
vitest ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants