Skip to content

Feature: add support for creator based fallback #101

@prajjwalkumar17

Description

@prajjwalkumar17

Support to handle default fallback in the decision engine.
Currently HS stores the default fallback in the configs table. But DE should handle this as a rule in the routing_algorithm table.

The problems associated with having fallback at rule level is, HS won't be able to send that, moreover it is a friction on merchants end to setup fallback for every rule they are creating, so instead of that we will have creator based default fallback which can be activated and deactivated, as well,

For backwards compatibility, we will always validate the default_fallback from the rule and then from the default_fallback rule.

Right now due to lack of this feature, we are facing identifiable diffs in our diffboard.

Decision engines response:
as hyps donot sends the default fallback on rule level there is no output from DE.
Image

Due to which we have diffs.
Image

Metadata

Metadata

Labels

rustPull requests that update rust code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions