--- title: "Salesforce Commerce Cloud troubleshooting" description: "Troubleshoot your Salesforce Commerce Cloud integration." url: "https://docs.adyen.com/plugins/salesforce-commerce-cloud/sfra/troubleshooting" source_url: "https://docs.adyen.com/plugins/salesforce-commerce-cloud/sfra/troubleshooting.md" canonical: "https://docs.adyen.com/plugins/salesforce-commerce-cloud/sfra/troubleshooting" last_modified: "2020-10-28T14:30:00+01:00" language: "en" --- # Salesforce Commerce Cloud troubleshooting Troubleshoot your Salesforce Commerce Cloud integration. [View source](/plugins/salesforce-commerce-cloud/sfra/troubleshooting.md) If you are experiencing a problem with your Salesforce Commerce Cloud integration, there are several ways how you can troubleshoot the issue yourself. Before you contact our Support Team: * Make sure that you [set up the cartridge correctly](/plugins/salesforce-commerce-cloud/sfra/set-up-the-cartridge). * Check our [FAQ](https://help.adyen.com/knowledge/plugins/salesforce). * Follow the steps below. ## Step 1: Clear the cache The Adyen Payment cartridge does not make use of the Salesforce Commerce Cloud cache system. When troubleshooting, we still recommend that you clear the caches in Salesforce Commerce Cloud, for example in case a third-party cartridge is using the cache system. To clear the caches: 1. In the Salesforce Business Manager, go to **Administration** > **Sites** > **Manage Sites**. 2. Select the name of your site.\ This opens a new window with the settings for this site. 3. Go to the **Cache** tab. 4. In the **Cache Invalidation** section, select **Invalidate** next to all the listed caches. ## Step 2: Disable third-party cartridges The Adyen Payment cartridge is often used in combination with other cartridges that can impact your checkout flow or the backend processes. When using third-party cartridges, make sure that Adyen's cartridges are the first in the [**Cartridges** box](/plugins/salesforce-commerce-cloud/sfra/set-up-the-cartridge?plugin=Salesforce%20SFRA\&integration=cartridge#step-1-set-up-the-cartridge-path). When troubleshooting our cartridge, make sure to temporarily disable any third-party cartridge. ## Step 3: Check for customizations If you applied any customizations to the cartridge, the error might be related to the customization. You can check whether the issue is related to your custom code based on the way you implemented the customizations: * If you implemented the customizations in a separate cartridge as recommended in our [customization guide](/plugins/salesforce-commerce-cloud/sfra/customization-guide), you can temporarily remove this cartridge from your cartridge path to see if the error persists. * If you have added custom code in one of the Adyen cartridges, check if it persists on a [cleanly installed](/plugins/salesforce-commerce-cloud/sfra/install-the-cartridge-and-import-the-metadata) cartridge. If you cannot reproduce the issue with a clean version, it is most likely a customization issue. ## Step 4: Check Salesforce Commerce Cloud logs Errors are logged by Salesforce Commerce Cloud in your Salesforce Business Manager. To find the logs: 1. Go to **Administration** > **Site Development** > **Development Setup**. 2. In the **WebDAV Access** section, select the folder icon next to **Log Files**.\ This opens a page with all the logs. If no errors are shown in the above logs, you can also check your console logs by inspecting the browser. ## Step 5: Check common errors Learn how to troubleshoot the following common errors: * [Payment methods not showing up](#payment-methods) * [Configuration errors](#configuration) * [Errors when placing orders](#placing-orders) ### Payment methods not showing up If a payment method is not showing up in your checkout, check the following: * Does this payment method require any [additional set up](/plugins/salesforce-commerce-cloud/sfra/set-up-payment-methods)? * Does the `/paymentMethods` API request include the correct country/region and currency combination for the payment method? Use the `service-adyen` [log files](#logs) to look this up. * Is the payment method included in the `/paymentMethods` API response? Use the `service-adyen` [log files](#logs) to look this up. ### Configuration errors Configuration errors include issues with the services, for example: * Origin key not retrieved * Payments call not functioning If you experience such issues, it is likely that the metadata was not loaded correctly. We recommend that you: 1. [Import the metadata again](/plugins/salesforce-commerce-cloud/sfra/install-the-cartridge-and-import-the-metadata#step-4-import-the-metadata). 2. If using cartridge v20.1.2 or earlier, make sure that you [set up live endpoints](/development-resources/live-endpoints) in your [live Customer Area](https://ca-live.adyen.com/). ### Errors when placing orders #### *No user found for OriginKey on validation* This error indicates that there is an issue with the cartridge configuration. 1. Make sure that you have provided a correct [merchant account name](/plugins/salesforce-commerce-cloud/sfra/set-up-the-cartridge) in your Salesforce Business Manager. 2. Reset your API key: [generate a new API key](/development-resources/api-credentials#generate-api-key) in your [Customer Area](https://ca-test.adyen.com/), and [copy it over to your Salesforce Business Manager](/plugins/salesforce-commerce-cloud/sfra/set-up-the-cartridge?plugin=Salesforce%20SFRA\&integration=cartridge#generate-keys). Check that the API key has [access to the merchant account](/development-resources/api-credentials#api-permissions) used for your integration. #### *Expected intent from order api call to be authorize, got capture* This error is specific to PayPal, and indicates that the capture setting in your code does not match the capture setting on Adyen's side. To resolve the issue, change the capture setting in your code to **SALE**. ## Step 6: Check our release notes Check if your current error is a known issue in the cartridge, and resolved in a later version. You can find the known issues and fixes either in our [technical release notes on GitHub](https://github.com/Adyen/adyen-salesforce-commerce-cloud/releases), or in our [commercial release notes](/plugins/release-notes/?title%5B0%5D=Salesforce%2BCommerce%2BCloud%2B-%2BB2C%2BCommerce). To find out which version of the cartridge you are using: 1. Log in to your [Customer Area](https://ca-test.adyen.com/). 2. Go to **Transactions** > **Payments**, and select the PSP reference of any payment.\ This opens the **Payment Details** page. 3. Go to the **Application Info** section.\ The cartridge version is shown under **Payment Device Version**. ## Step 7: Check open issues in GitHub Go to the [open issues in our GitHub](https://github.com/Adyen/adyen-salesforce-commerce-cloud/issues), and see if there is an open issue related to your error. If that is the case, you can leave a comment there to have direct contact with our dev teams. ## Step 8: Contact us If the problem still persists after you have followed the above steps, you can either: * [Create a GitHub issue](https://github.com/Adyen/adyen-salesforce-commerce-cloud/issues/new/choose) if you found a bug. * Contact our [Support Team](https://ca-test.adyen.com/ca/ca/contactUs/support.shtml?form=other), providing your cartridge version and other relevant information, for example screenshots or logs. ## See also * [Adyen Salesforce Commerce Cloud cartridge FAQ](https://help.adyen.com/knowledge/plugins/salesforce) * [Adyen Salesforce Commerce Cloud cartridge on GitHub](https://github.com/Adyen/adyen-salesforce-commerce-cloud)