Loading
Salesforce 订单管理
目录
选择筛选器

          没有结果
          没有结果
          以下是一些搜索提示

          检查关键字的拼写。
          使用更普遍的搜索词。
          选择更少的筛选器,并扩大搜索范围。

          搜索所有 Salesforce 帮助
          使用 StoreIntegratedService 设置付款网关

          使用 StoreIntegratedService 设置付款网关

          代表客户下单可以接受订单付款,并使用 Commerce Webstore Payment Token 和 Commerce Webstore Checkout Payments API。要让您的商店访问这些 API,请使用 StoreIntegratedService 实体将您的 WebStore 与付款网关相关联。

          1. 获取用于您正在连接的站点的现有付款网关的付款网关 ID。
            sf data query --query
            "SELECT Id, PaymentGatewayName, PaymentGatewayProviderId, Status
              FROM PaymentGateway"
          2. 确保付款网关支持令牌化和授权。如果没有,则需要更新。
          3. 获取您正在配置的 WebStore 的 ID。将 CurrencyIsoCode 添加到多币种组织,以获取正确的 ID。
            sf data query --query
            "SELECT Id, ExternalReference, Name, Type, DefaultTaxLocaleType
              FROM WebStore"
          4. 创建 StoreIntegratedService 实体。
            StoreIntegratedService sis = new StoreIntegratedService(
                StoreId = '0ZERN00000009qu4AA', // WebStore Id (step 3)
                Integration = '0b0RO000000009FYAQ', // Payment Gateway Id (step 1)
                ServiceProviderType = 'Payment');
            insert sis;

          另请参阅:

           
          正在加载
          Salesforce Help | Article