commerce_gc_client-8.x-1.9/config/schema/commerce_gc_client.schema.yml

config/schema/commerce_gc_client.schema.yml
commerce_payment.commerce_payment_gateway.plugin.gocardless_client:
  type: commerce_payment_gateway_configuration
  mapping:
    currencies:
      type: boolean
      label: 'Allow customer to choose currency at GoCardless'
    instant_payments:
      type: boolean
      label: 'Use Instant payments if available'
    countries:
      type: boolean
      label: 'Automatically select country for Instant payments'
    payment_limit:
      type: integer
      label: 'Maximum payments' 
    email_warnings:
      type: email
      label: 'Warnings Email' 
    log_webhook:
      type: boolean
      label: 'Enable webhook logging' 
    log_api:
      type: boolean
      label: 'Enable API logging' 

commerce_gc_client.settings:
  type: config_object
  label: 'Commerce GoCardless Client settings'
  mapping:
    partner_url:
      type: uri
      label: 'The URL of the GoCardless partner site'
    product_variation_types:
      type: sequence
      label: 'Product variation types that are GoCardless enabled'
      sequence:
        type: string
    partner_user_sandbox:
      type: string
      label: 'User name for the GoCardless partner site account in sandbox mode'
    partner_user_live:
      type: string
      label: 'User name for the GoCardless partner site account in live mode'
    partner_pass_sandbox:
      type: string
      label: 'Password for the GoCardless partner site account in sandbox mode'
    partner_pass_live:
      type: string
      label: 'Password for the GoCardless partner site account in live mode'
    webhook_secret_sandbox:
      type: string
      label: 'Webhook password provided in GoCardless sandbox merchant account'
    webhook_secret_live:
      type: string
      label: 'Webhook password provided in GoCardless live merchant account'
    currency_schemes:
      type: sequence
      label: 'GoCardless currency schemes'
      sequence:
        type: mapping
        mapping:
          scheme:
            type: string
            label: 'Currency scheme'
          enabled:
            type: boolean
            label: 'Enabled'      
          countries:
            type: sequence
            label: 'Countries'
            sequence:
              type: mapping
              mapping:
                unsupported:
                  type: boolean
                  label: 'Unsupported'
                failure_warning:
                  type: boolean
                  label: 'Failure warning'

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc