File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
pwa-kit-create-app/assets
bootstrap/js/overrides/app
templates/@salesforce/retail-react-app/app
template-retail-react-app/app Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -380,6 +380,11 @@ const {handler} = runtime.createHandler(options, (app) => {
380380 // Connect to SCRT2 URLs
381381 '*.salesforce-scrt.com',
382382 // Payment gateways
383+ // Note: Google Pay requires different CSP entries depending on the integration and environment.
384+ // - 'pay.google.com' and 'payments.google.com' are generally needed for the SDK to load and create payment tokens.
385+ // - 'google.com/pay/' and 'www.google.com/pay/' may be required for certain flows (especially with Adyen) or in some browsers
386+ // where the interactive payment sheet makes server calls directly to google.com/pay.
387+ // - You may need to adjust these URLs based on your environments.
383388 '*.demandware.net', // Used to load a valid payment scripts in test environment
384389 '*.adyen.com',
385390 '*.paypal.com',
Original file line number Diff line number Diff line change @@ -380,6 +380,11 @@ const {handler} = runtime.createHandler(options, (app) => {
380380 // Connect to SCRT2 URLs
381381 '*.salesforce-scrt.com',
382382 // Payment gateways
383+ // Note: Google Pay requires different CSP entries depending on the integration and environment.
384+ // - 'pay.google.com' and 'payments.google.com' are generally needed for the SDK to load and create payment tokens.
385+ // - 'google.com/pay/' and 'www.google.com/pay/' may be required for certain flows (especially with Adyen) or in some browsers
386+ // where the interactive payment sheet makes server calls directly to google.com/pay.
387+ // - You may need to adjust these URLs based on your environments.
383388 '*.demandware.net', // Used to load a valid payment scripts in test environment
384389 '*.adyen.com',
385390 '*.paypal.com',
Original file line number Diff line number Diff line change @@ -389,6 +389,11 @@ const {handler} = runtime.createHandler(options, (app) => {
389389 // Connect to SCRT2 URLs
390390 '*.salesforce-scrt.com' ,
391391 // Payment gateways
392+ // Note: Google Pay requires different CSP entries depending on the integration and environment.
393+ // - 'pay.google.com' and 'payments.google.com' are generally needed for the SDK to load and create payment tokens.
394+ // - 'google.com/pay/' and 'www.google.com/pay/' may be required for certain flows (especially with Adyen) or in some browsers
395+ // where the interactive payment sheet makes server calls directly to google.com/pay.
396+ // - You may need to adjust these URLs based on your environments.
392397 '*.demandware.net' , // Used to load a valid payment scripts in test environment
393398 '*.adyen.com' ,
394399 '*.paypal.com' ,
You can’t perform that action at this time.
0 commit comments