Loading
Feature degradation | Gmail Email delivery failureRead More
Salesforce B2B Commerce
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Select Salesforce Tax Solution and Set Up a Tax Provider for Custom Checkout

          Select Salesforce Tax Solution and Set Up a Tax Provider for Custom Checkout

          Use the Salesforce Tax Solution to automatically calculate tax rates, by mapping a third-party tax calculation service, such as Stripe, to your B2B store checkout.

          Required Editions

          View supported editions.

          Which Salesforce Commerce Product Do I Have?

          Note
          Note

          In Winter ‘24, we introduced Commerce extensions for pricing, inventory, shipping, taxes, and other services. While the checkout integrations framework is still supported, we recommend extensions over integrations because they offer more targeted customizations for your B2B store. Plus, they’re available for more Commerce domains. See Get Started With Salesforce Commerce Extensions.

          Also, starting in Spring ‘24, the Cart Calculate API is enabled by default for LWR stores (OptionsCartCalculateEnabled is set to true). When this setting is enabled, you can configure extension providers for tax calculation, but you can’t configure integrations for tax calculation.

          To calculate taxes, Salesforce Tax Solution uses Stripe as the tax provider. Before you proceed, create a Merchant account in the Payments app. See Set Up a Merchant Account and Payment Method Set. After you set up the Salesforce Tax Solution, your tax rates are automatically calculated for an order based on shopper and seller location, product type that’s sold, and any reverse tax on a transaction.

          For a B2B or a D2C store, you can also use the Manual Salesforce Tax Solution. If you want to set up tax rates manually, see Select Manual Salesforce Tax Solution and Assign a Tax Policy to a Commerce Store.

          If you want to integrate a third-party service, we recommend using an AppExchange package. If you prefer implementing a service without using AppExchange, see reference examples in GitHub.

          To implement an integration, see the B2B Commerce Developer Guide.

          This procedure assumes you’re using custom checkout and that the Cart Calculate API is enabled for your store.

          1. In the navigation sidebar, select a store from the Store dropdown.
          2. Select Settings | Checkout, and go to the Taxes tab.
          3. Click Select Merchant Account, select the merchant account, and save your changes.
            If you've selected a merchant account and want to modify the account, click

            Modify Merchant Account.

          4. Click Select Default Tax Category, and select a default tax category for your store.
            Your store's tax category associates your products with the correct tax rates. The Tax Policy ID field is populated based on the default tax category you selected.

            Optionally, you can override the store's default tax policy for products by setting the tax policy and tax treatment for that particular product. See Assign a Tax Policy to a Product.

          5. Click Configure Tax Registrations and configure Stripe as the tax provider. See Set up Stripe Tax.
          6. Save your changes.
          7. If you’re managing orders with Salesforce Order Management, you can generate tax reports from the Stripe Dashboard.
            1. From Setup, in the Quick Find box, enter, and select Flows.
            2. Clone and activate the Create Tax Transaction and Record Tax Reversal flows. You can also clone and customize the flows to suit your business.
              Note
              Note The Create Tax Transaction and Record Tax Reversal flows are available if Enable Order Events is enabled in the Order Settings page.
          8. If the automated business logic encounters an issue that interrupts normal processing, a process exception occurs. Identify the cause and resolve these exceptions. See Process Exceptions.
           
          Loading
          Salesforce Help | Article