Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
plugins:
  click:
	main:
	  bank_code: click	
      bank_account: click
      currency: UZS
      api_url: https://api.click.uz/v2/merchant/
      merchant_user_id: 123
      service_id: 123
      secret_key: secret
      messages:
        invalid_signature: SIGN CHECK FAILED!
        incorrect_parameter_amount: Incorrect parameter amount
        action_not_found: Action not found
        payment_exists: Already paid
        account_not_found: User does not exist
        transaction_not_found: Transaction does not exist
        internal_error: Internal server error
        invalid_request: Error in request from click
        transaction_cancelled: Transaction cancelled

listeners:
  http:
    plain:
      plugins: [click/main]

workers:
 - listeners: [http/plain] 

URL для подготовки платежа: <hpd_base_url>/click/main/prepare_payment

...