Skip to content

Commit aae4056

Browse files
committed
Revert default.js to original state and add only the sfpayments section
1 parent 7251077 commit aae4056

File tree

1 file changed

+9
-25
lines changed
  • packages/template-retail-react-app/config

1 file changed

+9
-25
lines changed

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

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = {
4848
landingPath: '/reset-password-landing'
4949
}
5050
},
51-
defaultSite: 'RefArch',
51+
defaultSite: 'RefArchGlobal',
5252
siteAliases: {
5353
RefArch: 'us',
5454
RefArchGlobal: 'global'
@@ -57,17 +57,11 @@ module.exports = {
5757
commerceAPI: {
5858
proxyPath: `/mobify/proxy/api`,
5959
parameters: {
60-
clientId: '0bb3af38-b52c-4f4b-966e-fe7087ca47e2',
61-
organizationId: 'f_ecom_zyoe_006',
62-
shortCode: 'sandbox-001',
63-
siteId: 'RefArch'
60+
clientId: 'c9c45bfd-0ed3-4aa2-9971-40f88962b836',
61+
organizationId: 'f_ecom_zzrf_001',
62+
shortCode: '8o7m175y',
63+
siteId: 'RefArchGlobal'
6464
}
65-
/*parameters: {
66-
clientId: 'cc62dfa8-777f-486a-8af2-bdc048a4ba52',
67-
organizationId: 'f_ecom_zyoe_009',
68-
shortCode: 'sandbox-001',
69-
siteId: 'RefArch'
70-
}*/
7165
},
7266
einsteinAPI: {
7367
host: 'https://api.cquotient.com',
@@ -94,20 +88,10 @@ module.exports = {
9488
},
9589
storeLocatorEnabled: true,
9690
multishipEnabled: true,
97-
// Salesforce Payments configuration
98-
// To enable, set enabled to true and provide the SDK and metadata URLs for your Commerce Cloud instance.
99-
// Example URLs: https://<instance>.unified.demandware.net/on/demandware.static/Sites-Site/-/-/internal/jscript/sfp/v1/sfp.js
100-
// https://<instance>.unified.demandware.net/on/demandware.static/Sites-Site/-/-/internal/metadata/v1.json
101-
/*sfPayments: {
102-
enabled: false,
103-
sdkUrl: '',
104-
metadataUrl: ''
105-
},*/
10691
sfPayments: {
10792
enabled: true,
108-
sdkUrl: 'https://zyoe-006.unified.demandware.net/on/demandware.static/Sites-Site/-/-/internal/jscript/sfp/v1/sfp.js',
109-
metadataUrl:
110-
'https://zyoe-006.unified.demandware.net/on/demandware.static/Sites-Site/-/-/internal/metadata/v1.json'
93+
sdkUrl: '',
94+
metadataUrl: ''
11195
},
11296
googleCloudAPI: {
11397
apiKey: process.env.GOOGLE_CLOUD_API_KEY
@@ -129,11 +113,11 @@ module.exports = {
129113
ssrFunctionNodeVersion: '24.x',
130114
proxyConfigs: [
131115
{
132-
host: 'sandbox-001.api.commercecloud.salesforce.com',
116+
host: 'kv7kzm78.api.commercecloud.salesforce.com',
133117
path: 'api'
134118
},
135119
{
136-
host: 'zyoe-006.dx.commercecloud.salesforce.com',
120+
host: 'zzrf-001.dx.commercecloud.salesforce.com',
137121
path: 'ocapi'
138122
}
139123
]

0 commit comments

Comments
 (0)