> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: getConfig() # Method package: wixEcom # Method menu location: wixEcom --> EcomPaymentSettings --> getConfig # Method Link: https://dev.wix.com/docs/velo/events-service-plugins/e-commerce/service-plugins/ecom-payment-settings/get-config.md # Method Description: Retrieves the configuration of your payment settings plugin. Set your payment settings configuration in the `return` of the `getConfig()` function. Wix calls this function when you publish your site. Changes to the configuration don't take effect until you publish your site. The only default currently available is to set a fallback value for whether to require [3 domain security](https://support.wix.com/en/article/about-3d-secure-3ds-payments-with-third-party-payment-providers) to an order payment if the [`getPaymentSettings()`](https://www.wix.com/velo/reference/spis/wix-ecom/ecom-payment-settings/getpaymentsettings) function fails. ### Where to find `getConfig()` When you [add the Payment Settings service plugin](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/tutorial-payment-settings-custom-extension.md#step-1-create-a-new-payment-settings-extension), a folder is automatically added to your site. Use the `-config.js` file in the folder to set the default configuration for your implementation of the service plugin. For more information on setting your configuration, see [Tutorial: Payment Settings Service Plugin](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/tutorial-payment-settings-custom-extension.md#require-3ds-50-configjs). # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Example of a configuration file ```javascript // Place this code in the -config.js file // in the 'ecom-payment-settings' folder of the // Custom Extensions section on your site. export function getConfig() { return { fallbackValueForRequires3dSecure: true }; }; ``` ---