Configuring Temporal for Formance Payments v3
Last updated: April 14, 2025
Temporal is a required dependency for Formance Payments module version 3. If you prefer not to use Temporal, you can use Payments v2 which provides similar functionality without this requirement.
Setting up Temporal with Formance Payments
The easiest way to set up Temporal with Formance Payments v3 is to use the docker-compose configuration provided in the payments repository, which includes all necessary services:
temporal and temporal-worker
postgres
payments-migrate
payments-worker
payments
Note: The docker-compose file in the main stack repository does not include the complete Temporal setup. Make sure to use the configuration from the payments repository instead.
Alternative Setup
If you don't need the latest features of Payments v3, you can use Payments v2 which doesn't require Temporal while providing similar functionality. This might be a simpler option if you don't want to manage the additional Temporal infrastructure.