File tree Expand file tree Collapse file tree 3 files changed +22
-9
lines changed
pwa-kit-create-app/assets
templates/@salesforce/retail-react-app/config
template-retail-react-app/config Expand file tree Collapse file tree 3 files changed +22
-9
lines changed Original file line number Diff line number Diff line change @@ -158,11 +158,14 @@ module.exports = {
158158 }
159159 },
160160 // Salesforce Payments configuration
161- // Set enabled to false to disable Salesforce Payments even if the Commerce Cloud instance supports it.
162- // Example URLs: sdkUrl: 'https://<instance >.unified.demandware.net/on/demandware.static/Sites-Site/-/-/internal/jscript/sfp/v1/sfp.js'
163- // metadataUrl: 'https://<instance >.unified.demandware.net/on/demandware.static/Sites-Site/-/-/internal/metadata/v1.json'
161+ // Set enabled to true to enable Salesforce Payments (requires the Salesforce Payments feature toggle to be enabled on the Commerce Cloud instance).
162+ // Set enabled to false to disable Salesforce Payments on the storefront (the Commerce Cloud feature toggle is unaffected).
163+ // sdkUrl and metadataUrl are hosted on your Commerce Cloud instance. Replace <hostname > with your instance hostname.
164+ // This may be a demandware.net hostname (e.g., myinstance.unified.demandware.net) or a vanity/custom hostname.
165+ // sdkUrl: 'https://<hostname >/on/demandware.static/Sites-Site/-/-/internal/jscript/sfp/v1/sfp.js'
166+ // metadataUrl: 'https://<hostname >/on/demandware.static/Sites-Site/-/-/internal/metadata/v1.json'
164167 sfPayments: {
165- enabled: true ,
168+ enabled: false ,
166169 sdkUrl: '',
167170 metadataUrl: ''
168171 },
Original file line number Diff line number Diff line change @@ -158,11 +158,14 @@ module.exports = {
158158 }
159159 },
160160 // Salesforce Payments configuration
161- // Set enabled to false to disable Salesforce Payments even if the Commerce Cloud instance supports it.
162- // Example URLs: sdkUrl: 'https://<instance >.unified.demandware.net/on/demandware.static/Sites-Site/-/-/internal/jscript/sfp/v1/sfp.js'
163- // metadataUrl: 'https://<instance >.unified.demandware.net/on/demandware.static/Sites-Site/-/-/internal/metadata/v1.json'
161+ // Set enabled to true to enable Salesforce Payments (requires the Salesforce Payments feature toggle to be enabled on the Commerce Cloud instance).
162+ // Set enabled to false to disable Salesforce Payments on the storefront (the Commerce Cloud feature toggle is unaffected).
163+ // sdkUrl and metadataUrl are hosted on your Commerce Cloud instance. Replace <hostname > with your instance hostname.
164+ // This may be a demandware.net hostname (e.g., myinstance.unified.demandware.net) or a vanity/custom hostname.
165+ // sdkUrl: 'https://<hostname >/on/demandware.static/Sites-Site/-/-/internal/jscript/sfp/v1/sfp.js'
166+ // metadataUrl: 'https://<hostname >/on/demandware.static/Sites-Site/-/-/internal/metadata/v1.json'
164167 sfPayments: {
165- enabled: true ,
168+ enabled: false ,
166169 sdkUrl: '',
167170 metadataUrl: ''
168171 },
Original file line number Diff line number Diff line change @@ -88,8 +88,15 @@ module.exports = {
8888 } ,
8989 storeLocatorEnabled : true ,
9090 multishipEnabled : true ,
91+ // Salesforce Payments configuration
92+ // Set enabled to true to enable Salesforce Payments (requires the Salesforce Payments feature toggle to be enabled on the Commerce Cloud instance).
93+ // Set enabled to false to disable Salesforce Payments on the storefront (the Commerce Cloud feature toggle is unaffected).
94+ // sdkUrl and metadataUrl are hosted on your Commerce Cloud instance. Replace <hostname> with your instance hostname.
95+ // This may be a demandware.net hostname (e.g., myinstance.unified.demandware.net) or a vanity/custom hostname.
96+ // sdkUrl: 'https://<hostname>/on/demandware.static/Sites-Site/-/-/internal/jscript/sfp/v1/sfp.js'
97+ // metadataUrl: 'https://<hostname>/on/demandware.static/Sites-Site/-/-/internal/metadata/v1.json'
9198 sfPayments : {
92- enabled : true ,
99+ enabled : false ,
93100 sdkUrl : '' ,
94101 metadataUrl : ''
95102 } ,
You can’t perform that action at this time.
0 commit comments