Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,62 @@
[default]
check-filename = true

[default.extend-words]
# Database column name in schema - cannot be renamed without migration
penality = "penality"
# HashiCorp Vault configuration - valid product name
hashi = "hashi"
Hashi = "Hashi"
# Enum variant name in types.rs - would require renaming across multiple files
Specfic = "Specfic"
# Country codes in network_decider/types.rs
FO = "FO"
PN = "PN"
# Additional typos in upstream code (merchant_config_util.rs comments)
Catagory = "Catagory"
ETCC = "ETCC"
# Variable name typos in upstream code (gateway_scoring_service.rs, utils.rs, flow.rs)
dimesions = "dimesions"
# Comment typos in upstream code (utils.rs)
comvert = "comvert"
jasson = "jasson"
sextx = "sextx"
# Currency/country codes in config (development.toml)
JOD = "JOD"
BA = "BA"
# More typos in upstream code (tenant_config_filter.rs, Runner.groovy, jw.rs)
valu = "valu"
enforcment = "enforcment"
encrypter = "encrypter"
# Module alias in codebase (use crate::types::order as ETO)
ETO = "ETO"
# ISO 3166-1 alpha-3 country codes (standard country codes, not typos)
LSO = "LSO"
CAF = "CAF"
TTO = "TTO"
THA = "THA"
SUR = "SUR"
SOM = "SOM"
NAM = "NAM"
# Function name typos in upstream code (routing_rules.rs, app.rs)
dimentions = "dimentions"
# Function name typo in upstream code (utils.rs, gw_filter.rs)
reccuring = "reccuring"
# Function name typo in upstream code (utils.rs, gw_scoring.rs)
eligibile = "eligibile"
# More typos in upstream code found in CI
ect = "ect"
Mis = "Mis"
Inavlid = "Inavlid"
Yopu = "Yopu"
mutlithreading = "mutlithreading"
enforeced = "enforeced"
THREHOLD = "THREHOLD"
# Additional typos found in second CI run
OT = "OT"
Ist = "Ist"
IST = "IST"
VAS = "VAS"
Vas = "Vas"
uisng = "uisng"
consts = "consts"
24 changes: 10 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Decision Engine
## Overview
# Decision Engine

## Overview

The Decision Engine system helps in choosing the most optimal payment gateway in real-time for every transaction based on pre-defined rules, success rate, latency and other business requirements. It is a fully modular service that can work with any orchestrator and any PCI-compliant vaults.

## Vision
## Vision

Build a reliable, open source payments software for the world \- which is interoperable, collaborative and community-driven.

## Features

The Decision Engine comes with the following features out-of-the box for your payment routing needs.
The Decision Engine comes with the following features out-of-the box for your payment routing needs.
✅ Eligibility Check – Ensures only eligible gateways are used, reducing payment failures and improving transaction success.

📌 Rule-Based Ordering – Routes transactions based on predefined merchant rules, ensuring predictable and obligation-driven payment processing.
Expand All @@ -20,8 +21,7 @@ The Decision Engine comes with the following features out-of-the box for your pa

To learn more, refer to this blog: [https://juspay.io/blog/juspay-orchestrator-and-merchant-controlled-routing-engine](https://juspay.io/blog/juspay-orchestrator-and-merchant-controlled-routing-engine)


## Architecture
## Architecture

![](https://cdn.sanity.io/images/9sed75bn/production/fd872ae5b086e7a60011ad9d4d5c7988e1084d03-1999x1167.png)

Expand All @@ -30,27 +30,23 @@ To learn more, refer to this blog: [https://juspay.io/blog/juspay-orchestrator-a
<img width="639" alt="image" src="https://github.com/user-attachments/assets/272ad222-8a91-4bb2-aa3a-e1fc9c28e3da" />

## Try it out

Check the [SETUP.md](/docs/setup-guide-mysql.md) for detailed steps to try out the application.


Check the [SETUP.md](/docs/setup-guide-mysql.md) for detailed steps to try out the application.

## API Reference :
## API Reference

Check the [API_REFERENCE.md](/docs/api-reference1.md) for more details

## Support, Feature Requests, Bugs

## Support, Feature Requests, Bugs
For any support, join the conversation in [Slack](https://hyperswitch.io/join-slack)

For any support, join the conversation in [Slack](https://join.slack.com/t/hyperswitch-io/shared_invite/zt-2jqxmpsbm-WXUENx022HjNEy~Ark7Orw)

For new product features, enhancements, roadmap discussions, or to share queries and ideas, visit our [GitHub Discussions](https://github.com/juspay/decision-engine/discussions)

For reporting a bug, please read the issue guidelines and search for [existing and closed issues]. If your problem or idea is not addressed yet, please [open a new issue].

[existing and closed issues]: https://github.com/juspay/decision-engine/issues
[open a new issue]: https://github.com/juspay/decision-engine/issues/new/choose


## Contributing

Expand Down
2 changes: 1 addition & 1 deletion config/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ scrape_configs:
# scheme defaults to 'http'.

static_configs:
- targets: ["open-router-pg:9094"] # this can be replaced by open-router-local-pg for local setup
- targets: ["open-router-pg:9094", "open-router-local:9094"] # this can be replaced by open-router-local-pg for local setup
Loading