Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Пример настройки конфига

database:
  name: localhost.dev1
  user: AIS_PAYMENTS
  password: q123
  max_pool_size: 5

hydra:
  user: 'hpd'
  password: 'q123'

pid_path: /var/run/${mode}/${appname}/hpd.pid

plugins:
  default:
    currency: RUB
    account_lookup_field: "account_no"
    bank_account: "CloudPayments"
    account_lookup_pattern: ^\w+$
    pay_type: RMM_KIND_PaySys

  cloud_payments:
    main:
      account_lookup_field: "account_no"
      bank_code: "CloudPayments"
      bank_account: "CloudPayments"
      secret_key: "some_secret_key"

listeners:
  http:
    plain:
      host: 0.0.0.0
      port: 9080
      plugins: [cloud_payments/main]
      timeout: 30

workers:
  - listeners: [http/plain]

Еще нужно будет на стороне клиента настроить личный кабинет в CloudPayements, чтобы тот отправлял check/pay post запросы с собственным протоколом cloudpayments.

  • No labels