paysuper-webhook-notifier

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

README

WebHook Notification Service

Build Status codecov Go Report Card Quality Gate Status

This service is rabbitmq consumer for sending other notification from PaySuper to projects. Example of sending notifications:

  1. Payment complete request
  2. Refund complete request
  3. User account validation
  4. And other

Environment variables:

Name Required Default Description
CENTRIFUGO_URL true - Centrifugo host address
CENTRIFUGO_KEY true - Centrifugo API key
CENTRIFUGO_USER_CHANNEL - paysuper:order#%s Name of centrifugo channel to send notifications to users. Placeholder in the end will to change to order identifier
CENTRIFUGO_ADMIN_CHANNEL - paysuper:admin Name of centrifugo channel to send notifications to administrators
BROKER_ADDRESS - amqp://127.0.0.1:5672 RabbitMQ url address
METRICS_PORT - 8087 Http server port for health and metrics request
REDIS_HOST - 127.0.0.1:6379 Redis server host address
REDIS_PASSWORD - "" Password to access to Redis server

Contributing

We feel that a welcoming community is important and we ask that you follow PaySuper's Open Source Code of Conduct in all interactions with the community.

PaySuper welcomes contributions from anyone and everyone. Please refer to each project's style and contribution guidelines for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.

The master branch of this repository contains the latest stable release of this component.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL