feat: store encrypted extended card info in redis (#4493)

This commit is contained in:
Chethan Rao
2024-05-02 16:58:44 +05:30
committed by GitHub
parent 5a447afd74
commit 6c59d2434c
8 changed files with 268 additions and 3 deletions

View File

@ -77,3 +77,9 @@ pub const DEFAULT_DISPLAY_SDK_ONLY: bool = false;
/// Default bool to enable saved payment method
pub const DEFAULT_ENABLE_SAVED_PAYMENT_METHOD: bool = false;
/// Default ttl for Extended card info in redis (in seconds)
pub const DEFAULT_TTL_FOR_EXTENDED_CARD_INFO: u16 = 15 * 60;
/// Max ttl for Extended card info in redis (in seconds)
pub const MAX_TTL_FOR_EXTENDED_CARD_INFO: u16 = 60 * 60;