Loading
시스템 관리자에 대한 피싱 방지 MFA 및 전 직원사용자 MFA 적용 안내 더 많이 읽기
Salesforce 주문 관리
StoreIntegratedService로 결제 게이트웨이 설정

StoreIntegratedService로 결제 게이트웨이 설정

대리 주문은 주문에 대한 결제를 수령하고 Commerce Webstore 결제 토큰 및 Commerce Webstore Checkout 결제 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