Skip to content

Commit a9c2d49

Browse files
resolve merge conflicts
1 parent 17f0e18 commit a9c2d49

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

packages/template-retail-react-app/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## v9.1.0-dev
22
- Add Page Designer Support [#3727](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3727)
33
- [Feature] Add Salesforce Payments support in checkout [#3725](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3725)
4+
- One Click Checkout removed from Developer Preview. When shoppers use passwordless OTP login with one-click checkout, the system saves their shipping and payment information for faster checkout in the future. Security safeguards required: (1) Captcha - Protects the passwordless login from bots. (2) OTP for Email Changes - Verifies identity before an email update, prevents accidental account lockouts from typos, and prevents unauthorized access to saved payment methods.
45
- Update jest-fetch-mock and Jest 29 dependencies [#3663](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3663)
56
- Add Node 24 support. Drop Node 16 support [#3652](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3652)
67
- [Bugfix] Fix error toast for no applicable shipping methods in one-click checkout [#3673](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3673)
@@ -9,7 +10,9 @@
910
- [Feature] Add translations for text in 1CC [#3703](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3703)
1011

1112
## v9.0.0 (Feb 12, 2026)
12-
- [Feature] One Click Checkout (in Developer Preview) [#3552](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3552)
13+
- [Feature] One Click Checkout [#3552](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3552)
14+
- When shoppers use passwordless OTP login with one-click checkout, the system saves their shipping and payment information for faster checkout in the future.
15+
- Security safeguards required: (1) Captcha - Protects the passwordless login from bots. (2) OTP for Email Changes - Verifies identity before an email update, prevents accidental account lockouts from typos, and prevents unauthorized access to saved payment methods.
1316
- [Feature] Add `fuzzyPathMatching` to reduce computational overhead of route generation at time of application load [#3530](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3530)
1417
- [Bugfix] Fix Passwordless Login landingPath, Reset Password landingPath, and Social Login redirectUri value in config not being used [#3560](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3560)
1518
- [Feature] PWA Integration with OMS

packages/template-retail-react-app/app/routes.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ export const routes = [
8181
{
8282
path: '/checkout',
8383
component: (props) => {
84+
// One Click Checkout: Saves shipping/payment for returning shoppers. Security required:
85+
// (1) Captcha for passwordless login, (2) OTP for email changes. See config/default.js for details.
8486
const enabled = getConfig()?.app?.oneClickCheckout?.enabled
8587
return enabled ? <CheckoutOneClick {...props} /> : <Checkout {...props} />
8688
},

packages/template-retail-react-app/config/default.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,12 @@ module.exports = {
7474
appSourceId: '7ae070a6-f4ec-4def-a383-d9cacc3f20a1',
7575
tenantId: 'g82wgnrvm-ywk9dggrrw8mtggy.pc-rnd'
7676
},
77-
// Note: this feature is in Developer Preview at this time. To use One Click Checkout,
78-
// enable the oneClickCheckout flag and configure private SLAS client. For more details, please
79-
// check https://github.com/SalesforceCommerceCloud/pwa-kit/releases/tag/v3.16.0
77+
// One Click Checkout: When enabled, shoppers using passwordless OTP login can save shipping
78+
// and payment information for faster checkout in the future. To use, enable the flag and
79+
// configure private SLAS client. Security safeguards required:
80+
// 1. Captcha - Protects the passwordless login from bots (e.g., Cloudflare Turnstile).
81+
// 2. OTP for Email Changes - Verifies identity before an email update, prevents accidental
82+
// account lockouts from typos, and prevents unauthorized access to saved payment methods.
8083
oneClickCheckout: {
8184
enabled: false
8285
},

packages/template-retail-react-app/config/mocks/default.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ module.exports = {
119119
appSourceId: '7ae070a6-f4ec-4def-a383-d9cacc3f20a1',
120120
tenantId: 'g82wgnrvm-ywk9dggrrw8mtggy.pc-rnd'
121121
},
122+
// One Click Checkout: Saves shipping/payment for returning shoppers. Requires: (1) Captcha
123+
// for passwordless login, (2) OTP for email changes. See config/default.js for full notes.
122124
oneClickCheckout: {
123125
enabled: false
124126
},

0 commit comments

Comments
 (0)