turnstile

Drupal paywall plugin
Log | Files | Refs | README | LICENSE

taler_turnstile.schema.yml (1076B)


      1 taler_turnstile.settings:
      2   type: config_object
      3   label: 'GNU Taler Turnstile settings'
      4   mapping:
      5     enabled_content_types:
      6       type: sequence
      7       label: 'Enabled content types'
      8       sequence:
      9         type: string
     10         label: 'Content type'
     11     payment_backend_url:
     12       type: string
     13       label: 'Payment backend URL'
     14     access_token:
     15       type: string
     16       label: 'Access token'
     17     grant_access_on_error:
     18       type: boolean
     19       label: 'Disable paywall when payment backend is unavailable'
     20     # Per-subscription, per-currency price at which the corresponding
     21     # subscription token family can be *purchased*. Keys at both levels
     22     # are dynamic (subscription slug, then currency code) and not known
     23     # in advance, so we model them as nested sequences. Empty / unset
     24     # entries mean "not for sale in that currency".
     25     subscription_prices:
     26       type: sequence
     27       label: 'Subscription purchase prices'
     28       sequence:
     29         type: sequence
     30         label: 'Prices by currency'
     31         sequence:
     32           type: string
     33           label: 'Price'