Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
979eaec
update ites btn label (#2535)
surekhaw Sep 15, 2025
fa406f4
chore(release): 5.0.383 🎉
nikrom17 Sep 15, 2025
46245aa
Rebranded marks (#2555)
gusveloso Sep 16, 2025
9a9f005
chore(release): 5.0.384 🎉
nikrom17 Sep 16, 2025
9d6c45b
fix(venmo): popupBridge feature detection for webview eligibility (#2…
mynormh Sep 16, 2025
230ceb6
chore(release): 5.0.385 🎉
nikrom17 Sep 16, 2025
e57107b
Revert "fix(venmo): popupBridge feature detection for webview eligibi…
nikrom17 Sep 18, 2025
aa613c1
chore(release): 5.0.386 🎉
nikrom17 Sep 18, 2025
5de7b90
Feature/enable rebrand smart stack (#2558)
AleGastelum Sep 18, 2025
63e0322
Merge branch 'feature/paylater-credit-rebrand' into main
delbarrow Sep 23, 2025
c4e761f
feat(venmo): eligibility (#2563)
mnicpt Sep 23, 2025
09f32b3
chore(release): 5.0.387 🎉
mnicpt Sep 23, 2025
a2744c5
Updated NCPS buttons to accept rebrand (#2562)
AleGastelum Sep 23, 2025
06b7094
Add sdkSource to button props (#2565)
kkatepallypaypal Sep 23, 2025
567e50e
chore(release): 5.0.388 🎉
ravishekhar Sep 24, 2025
b0d7e2c
[Feature]/DTXOCOEXP-1400 Add `verificationMethod` Parameter (#2546)
jtanya17 Sep 29, 2025
564931c
chore(release): 5.0.389 🎉
siddy2181 Sep 29, 2025
38b1bd4
[NCPS Hosted buttons] Update FPTI tracking params (#2557)
masuthar Sep 30, 2025
1653497
chore(release): 5.0.390 🎉
masuthar Sep 30, 2025
4a401fc
fix: add temporary solution for credit button becaming vaultable (#2569)
gusveloso Sep 30, 2025
a051b3a
chore(release): 5.0.391 🎉
gusveloso Sep 30, 2025
5937a2c
Remove isPayPalDomain from subscriptions props (#2568)
wooslim Oct 2, 2025
10bef36
clean up use of globalSessionID, as we are now leveraging getPayPalSe…
delbarrow Oct 3, 2025
2dafac0
fix(standalone): userAgent (#2572)
mnicpt Oct 6, 2025
9f29832
chore(release): 5.0.392 🎉
mnicpt Oct 6, 2025
781261e
feat: update bt version to 3.128.0 (#2573)
byhoung Oct 9, 2025
9a21533
chore(release): 5.0.393 🎉
imbrian Oct 9, 2025
7e45eaa
remove bodyParam from sdkSource prop in buttons component (#2574)
jtanya17 Oct 13, 2025
c24510b
chore(release): 5.0.394 🎉
imbrian Oct 13, 2025
f817382
add eligibility check to children card fields in order to throw more …
gusveloso Oct 28, 2025
7eec15c
feature(venmo): supportsVenmoPopups and supportedNativeVenmoBrowser p…
mnicpt Nov 4, 2025
7c0d726
chore(release): 5.0.395 🎉
mnicpt Nov 5, 2025
528c192
feat: support button label for CA (#2576)
danzhaaspaypal Nov 5, 2025
9d56c2b
chore(release): 5.0.396 🎉
danzhaaspaypal Nov 5, 2025
3444b38
remove the restriction to use PayPal urls (#2578)
ravishekhar Nov 6, 2025
7ef1eae
chore(release): 5.0.397 🎉
ravishekhar Nov 6, 2025
80601cb
clean up overlay after each test case (#2580)
gusveloso Dec 2, 2025
bb6b6ff
add aria hidden attribute for label container (#2582)
mchoun Dec 15, 2025
e43a821
fix: update npm access token name (#2585)
gregjopa Jan 6, 2026
5b9c8cd
feat(buttons): add disabled prop support (#2584)
Vishala230531 Jan 6, 2026
1c837ef
chore(release): 5.0.398 🎉
gregjopa Jan 6, 2026
e272f5b
fix: use the right env variable name for npm (#2586)
gregjopa Jan 6, 2026
8ad7d3b
chore(release): 5.0.399 🎉
gregjopa Jan 6, 2026
a31cab9
Revert "feat(buttons): add disabled prop support (#2584)" (#2588)
siddy2181 Jan 15, 2026
3d721fc
chore(release): 5.0.400 🎉
siddy2181 Jan 15, 2026
fcc4629
App Switch in New Tab (#2581)
naderchehab Jan 22, 2026
509bc3a
chore(release): 5.0.401 🎉
bywood Jan 22, 2026
14ca952
Add support for disabling buttons (#2590)
Vishala230531 Jan 27, 2026
0a6fdea
chore(release): 5.0.402 🎉
nikrom17 Jan 27, 2026
1e48e9f
Revert "Add support for disabling buttons (#2590)" (#2593)
delbarrow Feb 2, 2026
57120ac
chore(release): 5.0.403 🎉
nikrom17 Feb 3, 2026
e4433f6
chore: prefer org-level code of conduct file (#2595)
gregjopa Feb 4, 2026
7522a45
chore(release): 5.0.404 🎉
mchoun Feb 17, 2026
efeb355
CspNonce changes
Feb 20, 2026
934fd82
Revert "CspNonce changes"
Feb 20, 2026
2c7106b
Reapply "CspNonce changes" (#2598)
Vishala230531 Feb 25, 2026
f0fc4d0
[DTINAPPXO-3265][DTINAPPXO-3391] Resume Flow fix: Extract query-style…
naderchehab Feb 25, 2026
0c53815
Additional fix for hash params in resume flow (#2602)
naderchehab Feb 25, 2026
69236cb
chore(release): 5.0.405 🎉
ravishekhar Feb 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ jobs:
- name: 📦 Publish to npm using existing scripts
run: npm run release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# actions/setup-node uses this NODE_AUTH_TOKEN environment variable for npm publishing
# https://docs.github.com/en/actions/tutorials/publish-packages/publish-nodejs-packages
NODE_AUTH_TOKEN: ${{ secrets.PAYPAL_SDK_NPM_AUTH_TOKEN }}
138 changes: 138 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,141 @@
## <small>5.0.405 (2026-02-26)</small>

* Additional fix for hash params in resume flow (#2602) ([0c53815](https://github.com/paypal/paypal-checkout-components/commit/0c53815)), closes [#2602](https://github.com/paypal/paypal-checkout-components/issues/2602)



## <small>5.0.404 (2026-02-17)</small>

* chore: prefer org-level code of conduct file (#2595) ([e4433f6](https://github.com/paypal/paypal-checkout-components/commit/e4433f6)), closes [#2595](https://github.com/paypal/paypal-checkout-components/issues/2595)



## <small>5.0.403 (2026-02-03)</small>

* Revert "Add support for disabling buttons (#2590)" (#2593) ([1e48e9f](https://github.com/paypal/paypal-checkout-components/commit/1e48e9f)), closes [#2590](https://github.com/paypal/paypal-checkout-components/issues/2590) [#2593](https://github.com/paypal/paypal-checkout-components/issues/2593)



## <small>5.0.402 (2026-01-27)</small>

* Add support for disabling buttons (#2590) ([14ca952](https://github.com/paypal/paypal-checkout-components/commit/14ca952)), closes [#2590](https://github.com/paypal/paypal-checkout-components/issues/2590)



## <small>5.0.401 (2026-01-22)</small>

* App Switch in New Tab (#2581) ([fcc4629](https://github.com/paypal/paypal-checkout-components/commit/fcc4629)), closes [#2581](https://github.com/paypal/paypal-checkout-components/issues/2581)



## <small>5.0.400 (2026-01-15)</small>

* Revert "feat(buttons): add disabled prop support (#2584)" (#2588) ([a31cab9](https://github.com/paypal/paypal-checkout-components/commit/a31cab9)), closes [#2584](https://github.com/paypal/paypal-checkout-components/issues/2584) [#2588](https://github.com/paypal/paypal-checkout-components/issues/2588)



## <small>5.0.399 (2026-01-06)</small>

* fix: use the right env variable name for npm (#2586) ([e272f5b](https://github.com/paypal/paypal-checkout-components/commit/e272f5b)), closes [#2586](https://github.com/paypal/paypal-checkout-components/issues/2586)



## <small>5.0.398 (2026-01-06)</small>

* feat(buttons): add disabled prop support (#2584) ([5b9c8cd](https://github.com/paypal/paypal-checkout-components/commit/5b9c8cd)), closes [#2584](https://github.com/paypal/paypal-checkout-components/issues/2584)



## <small>5.0.397 (2025-11-06)</small>

* remove the restriction to use PayPal urls (#2578) ([3444b38](https://github.com/paypal/paypal-checkout-components/commit/3444b38)), closes [#2578](https://github.com/paypal/paypal-checkout-components/issues/2578)



## <small>5.0.396 (2025-11-05)</small>

* feat: support button label for CA (#2576) ([528c192](https://github.com/paypal/paypal-checkout-components/commit/528c192)), closes [#2576](https://github.com/paypal/paypal-checkout-components/issues/2576)



## <small>5.0.395 (2025-11-05)</small>

* feature(venmo): supportsVenmoPopups and supportedNativeVenmoBrowser props (#2575) ([7eec15c](https://github.com/paypal/paypal-checkout-components/commit/7eec15c)), closes [#2575](https://github.com/paypal/paypal-checkout-components/issues/2575)



## <small>5.0.394 (2025-10-13)</small>

* remove bodyParam from sdkSource prop in buttons component (#2574) ([7e45eaa](https://github.com/paypal/paypal-checkout-components/commit/7e45eaa)), closes [#2574](https://github.com/paypal/paypal-checkout-components/issues/2574)



## <small>5.0.393 (2025-10-09)</small>

* feat: update bt version to 3.128.0 (#2573) ([781261e](https://github.com/paypal/paypal-checkout-components/commit/781261e)), closes [#2573](https://github.com/paypal/paypal-checkout-components/issues/2573)



## <small>5.0.392 (2025-10-06)</small>

* fix(standalone): userAgent (#2572) ([2dafac0](https://github.com/paypal/paypal-checkout-components/commit/2dafac0)), closes [#2572](https://github.com/paypal/paypal-checkout-components/issues/2572)



## <small>5.0.391 (2025-09-30)</small>

* fix: add temporary solution for credit button becaming vaultable (#2569) ([4a401fc](https://github.com/paypal/paypal-checkout-components/commit/4a401fc)), closes [#2569](https://github.com/paypal/paypal-checkout-components/issues/2569)



## <small>5.0.390 (2025-09-30)</small>

* [NCPS Hosted buttons] Update FPTI tracking params (#2557) ([38b1bd4](https://github.com/paypal/paypal-checkout-components/commit/38b1bd4)), closes [#2557](https://github.com/paypal/paypal-checkout-components/issues/2557)



## <small>5.0.389 (2025-09-29)</small>

* [Feature]/DTXOCOEXP-1400 Add `verificationMethod` Parameter (#2546) ([b0d7e2c](https://github.com/paypal/paypal-checkout-components/commit/b0d7e2c)), closes [#2546](https://github.com/paypal/paypal-checkout-components/issues/2546)



## <small>5.0.388 (2025-09-24)</small>

* Add sdkSource to button props (#2565) ([06b7094](https://github.com/paypal/paypal-checkout-components/commit/06b7094)), closes [#2565](https://github.com/paypal/paypal-checkout-components/issues/2565)



## <small>5.0.387 (2025-09-23)</small>

* feat(venmo): eligibility (#2563) ([c4e761f](https://github.com/paypal/paypal-checkout-components/commit/c4e761f)), closes [#2563](https://github.com/paypal/paypal-checkout-components/issues/2563)



## <small>5.0.386 (2025-09-18)</small>

* Revert "fix(venmo): popupBridge feature detection for webview eligibility (#2…" (#2561) ([e57107b](https://github.com/paypal/paypal-checkout-components/commit/e57107b)), closes [#2](https://github.com/paypal/paypal-checkout-components/issues/2) [#2561](https://github.com/paypal/paypal-checkout-components/issues/2561)



## <small>5.0.385 (2025-09-16)</small>

* fix(venmo): popupBridge feature detection for webview eligibility (#2545) ([9d6c45b](https://github.com/paypal/paypal-checkout-components/commit/9d6c45b)), closes [#2545](https://github.com/paypal/paypal-checkout-components/issues/2545)



## <small>5.0.384 (2025-09-16)</small>

* Rebranded marks (#2555) ([46245aa](https://github.com/paypal/paypal-checkout-components/commit/46245aa)), closes [#2555](https://github.com/paypal/paypal-checkout-components/issues/2555)



## <small>5.0.383 (2025-09-15)</small>

* update ites btn label (#2535) ([979eaec](https://github.com/paypal/paypal-checkout-components/commit/979eaec)), closes [#2535](https://github.com/paypal/paypal-checkout-components/issues/2535)



## <small>5.0.382 (2025-09-11)</small>

* Css comment should be /* */ (#2556) ([ba89ffc](https://github.com/paypal/paypal-checkout-components/commit/ba89ffc)), closes [#2556](https://github.com/paypal/paypal-checkout-components/issues/2556)
Expand Down
72 changes: 0 additions & 72 deletions CODE_OF_CONDUCT.md

This file was deleted.

2 changes: 1 addition & 1 deletion dist/button.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/test/button.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paypal/checkout-components",
"version": "5.0.382",
"version": "5.0.405",
"description": "PayPal Checkout components, for integrating checkout products.",
"main": "index.js",
"scripts": {
Expand All @@ -23,6 +23,7 @@
"jest-ssr": "jest test/ssr --env=node --no-cache --collectCoverage --collectCoverageFrom='src/' --coverageDirectory='coverage/jest'",
"karma": "cross-env NODE_ENV=test babel-node ./node_modules/.bin/karma start",
"lint": "eslint --ext .js --ext .jsx src/ test/ *.js",
"lint:fix": "eslint --ext .js --ext .jsx src/ test/ *.js --fix",
"postversion": "./scripts/postversion.sh",
"preversion": "./scripts/preversion.sh",
"reinstall": "rimraf flow-typed && rimraf node_modules && npm install && npm run flow-typed",
Expand Down Expand Up @@ -122,7 +123,7 @@
"@paypal/funding-components": "^1.0.31",
"@paypal/sdk-client": "^4.0.199",
"@paypal/sdk-constants": "^1.0.156",
"@paypal/sdk-logos": "^2.3.1"
"@paypal/sdk-logos": "^2.3.2"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
Expand Down
2 changes: 1 addition & 1 deletion src/connect/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const MIN_MINOR_VERSION = 97;
const MIN_PATCH_VERSION = 3;
export const MIN_BT_VERSION = `${MIN_MAJOR_VERSION}.${MIN_MINOR_VERSION}.${MIN_PATCH_VERSION}-connect-alpha.6.1`; // Minimum for supporting AXO

export const DEFAULT_BT_VERSION = `3.116.2`;
export const DEFAULT_BT_VERSION = `3.128.0`;

export function getSdkVersion(version: string | null): string {
if (!version) {
Expand Down
2 changes: 1 addition & 1 deletion src/connect/component.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ describe("getConnectComponent: returns ConnectComponent", () => {
await getConnectComponent(mockProps);
expect(loadAxo).toHaveBeenCalledWith({
minified: true,
btSdkVersion: "3.116.2",
btSdkVersion: "3.128.0",
metadata: undefined,
platform: "PPCP",
});
Expand Down
4 changes: 4 additions & 0 deletions src/funding/bancontact/config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import {
BancontactLogoInlineSVG,
BancontactLogoExternalImage,
BancontactMarkRebrandExternalImage,
} from "@paypal/sdk-logos/src";
import { Fragment, node } from "@krakenjs/jsx-pragmatic/src";

Expand Down Expand Up @@ -47,5 +48,8 @@ export function getBancontactConfig(): FundingSourceConfig {

return <BasicLabel {...opts} logo={apmLogo} />;
},

Mark: () => <BancontactMarkRebrandExternalImage />,
shouldUseMarkForRebrandOnly: true,
};
}
1 change: 1 addition & 0 deletions src/funding/card/config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export function getCardConfig(): FundingSourceConfig {
secondaryColors: {
...DEFAULT_FUNDING_CONFIG.secondaryColors,
[DEFAULT]: BUTTON_COLOR.BLACK,
[BUTTON_COLOR.REBRAND_BLUE]: BUTTON_COLOR.REBRAND_BLACK,
},

logoColors: {
Expand Down
2 changes: 2 additions & 0 deletions src/funding/common.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,13 @@ export type FundingSourceConfig = {|
fundingEligibility: ?FundingEligibilityType,
label?: string,
period?: number,
locale?: LocaleType,
|}) => string),
showWalletMenu: ({|
instrument: WalletInstrument,
userIDToken: ?string,
|}) => boolean,
shouldUseMarkForRebrandOnly?: boolean,
|};

export function BasicLabel({
Expand Down
5 changes: 5 additions & 0 deletions src/funding/credit/config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
LOGO_COLOR,
PPRebrandLogoInlineSVG,
PPRebrandLogoExternalImage,
CreditMarkRebrandExternalImage,
} from "@paypal/sdk-logos/src";

import {
Expand All @@ -39,6 +40,7 @@ export function getCreditConfig(): FundingSourceConfig {
BUTTON_FLOW.PURCHASE,
BUTTON_FLOW.BILLING_SETUP,
BUTTON_FLOW.SUBSCRIPTION_SETUP,
BUTTON_FLOW.VAULT_WITHOUT_PURCHASE,
],

layouts: [BUTTON_LAYOUT.HORIZONTAL, BUTTON_LAYOUT.VERTICAL],
Expand Down Expand Up @@ -127,6 +129,9 @@ export function getCreditConfig(): FundingSourceConfig {
);
},

Mark: () => <CreditMarkRebrandExternalImage />,
shouldUseMarkForRebrandOnly: true,

WalletLabel,

colors: [
Expand Down
Loading
Loading