Skip to content

Commit 7221d94

Browse files
Merge pull request #3708 from SalesforceCommerceCloud/avinash.W-21430145
@W-21430145: remove 1cc from dev preview
2 parents 64b0c1b + 535f783 commit 7221d94

File tree

7 files changed

+22
-7
lines changed

7 files changed

+22
-7
lines changed

packages/pwa-kit-create-app/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
- Add Salesforce Payments configuration to generated projects [#3725] (https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3725)
33
- Clear verdaccio npm cache during project generation [#3652](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3652)
44
- Add Node 24 support, remove legacy `url` module import. Drop Node 16 support [#3652](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3652)
5+
- 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.
56

67
## v3.16.0 (Feb 12, 2026)
78
- Add new One-Click Checkout configuration [#3609](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3609)

packages/pwa-kit-create-app/assets/bootstrap/js/config/default.js.hbs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,11 @@ module.exports = {
145145
appSourceId: '{{answers.project.dataCloud.appSourceId}}',
146146
tenantId: '{{answers.project.dataCloud.tenantId}}'
147147
},
148-
// Note: this feature is in Developer Preview at this time. To use One Click Checkout,
149-
// enable the oneClickCheckout flag and configure private SLAS client. For more details, please
148+
// When shoppers use passwordless OTP login with one-click checkout, the system saves their shipping and payment information for faster checkout in the future.
149+
// To maintain security, implement these safeguards:
150+
// 1. Captcha - Protects the passwordless login from bots.
151+
// 2. OTP for Email Changes - Verifies your identity before an email update, prevents accidental account lockouts from typos, and prevents unauthorized users from gaining access to saved payment methods.
152+
// To use One Click Checkout, enable the oneClickCheckout flag and configure private SLAS client. For more details, please
150153
// check https://github.com/SalesforceCommerceCloud/pwa-kit/releases/tag/v3.16.0
151154
oneClickCheckout: {
152155
enabled: false

packages/pwa-kit-create-app/assets/templates/@salesforce/retail-react-app/config/default.js.hbs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,11 @@ module.exports = {
145145
appSourceId: '{{answers.project.dataCloud.appSourceId}}',
146146
tenantId: '{{answers.project.dataCloud.tenantId}}'
147147
},
148-
// Note: this feature is in Developer Preview at this time. To use One Click Checkout,
149-
// enable the oneClickCheckout flag and configure private SLAS client. For more details, please
148+
// When shoppers use passwordless OTP login with one-click checkout, the system saves their shipping and payment information for faster checkout in the future.
149+
// To maintain security, implement these safeguards:
150+
// 1. Captcha - Protects the passwordless login from bots.
151+
// 2. OTP for Email Changes - Verifies your identity before an email update, prevents accidental account lockouts from typos, and prevents unauthorized users from gaining access to saved payment methods.
152+
// To use One Click Checkout, enable the oneClickCheckout flag and configure private SLAS client. For more details, please
150153
// check https://github.com/SalesforceCommerceCloud/pwa-kit/releases/tag/v3.16.0
151154
oneClickCheckout: {
152155
enabled: false

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

Lines changed: 1 addition & 0 deletions
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)

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)