feat(core): [Payment Link] add dynamic merchant fields (#5512)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sakil Mostak
2024-08-08 19:50:07 +05:30
committed by GitHub
parent 0cbbc92a43
commit 03f0ea1582
11 changed files with 160 additions and 41 deletions

View File

@ -86,6 +86,9 @@ pub const DEFAULT_ENABLE_SAVED_PAYMENT_METHOD: bool = false;
/// Default allowed domains for payment links
pub const DEFAULT_ALLOWED_DOMAINS: Option<HashSet<String>> = None;
/// Default merchant details for payment links
pub const DEFAULT_TRANSACTION_DETAILS: Option<String> = None;
/// Default ttl for Extended card info in redis (in seconds)
pub const DEFAULT_TTL_FOR_EXTENDED_CARD_INFO: u16 = 15 * 60;