mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(core): Changed frm_config format type in merchant_connector_account and added frm_message in payments response (#1543)
Co-authored-by: Jagan Elavarasan <jaganelavarasan@gmail.com> Co-authored-by: Sampras Lopes <lsampras@pm.me> Co-authored-by: Sampras Lopes <lsampras@protonmail.com>
This commit is contained in:
@ -13,3 +13,8 @@ pub(crate) const ALPHABETS: [char; 62] = [
|
||||
|
||||
/// TTL for token
|
||||
pub const TOKEN_TTL: i64 = 900;
|
||||
|
||||
///an example of the frm_configs json
|
||||
pub static FRM_CONFIGS_EG: &str = r#"
|
||||
[{"gateway":"stripe","payment_methods":[{"payment_method":"card","payment_method_types":[{"payment_method_type":"credit","card_networks":["Visa"],"flow":"pre","action":"cancel_txn"},{"payment_method_type":"debit","card_networks":["Visa"],"flow":"pre"}]}]}]
|
||||
"#;
|
||||
|
||||
Reference in New Issue
Block a user