mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
fix(router): Payment link api contract change (#2975)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Kashif <mohammed.kashif@juspay.in> Co-authored-by: Kashif <kashif.dev@protonmail.com> Co-authored-by: hrithikeshvm <hrithikeshmylatty@gmail.com> Co-authored-by: hrithikeshvm <vmhrithikesh@gmail.com>
This commit is contained in:
@ -33,11 +33,8 @@ pub const SURCHARGE_PERCENTAGE_PRECISION_LENGTH: u8 = 2;
|
||||
/// Header Key for application overhead of a request
|
||||
pub const X_HS_LATENCY: &str = "x-hs-latency";
|
||||
|
||||
/// SDK Default Theme const
|
||||
pub const DEFAULT_SDK_THEME: &str = "#7EA8F6";
|
||||
|
||||
/// Default Payment Link Background color
|
||||
pub const DEFAULT_BACKGROUND_COLOR: &str = "#E5E5E5";
|
||||
pub const DEFAULT_BACKGROUND_COLOR: &str = "#212E46";
|
||||
|
||||
/// Default product Img Link
|
||||
pub const DEFAULT_PRODUCT_IMG: &str = "https://i.imgur.com/On3VtKF.png";
|
||||
@ -50,3 +47,9 @@ pub const PROPHETPAY_REDIRECT_URL: &str = "https://ccm-thirdparty.cps.golf/hp/to
|
||||
|
||||
/// Variable which store the card token for Prophetpay
|
||||
pub const PROPHETPAY_TOKEN: &str = "cctoken";
|
||||
|
||||
/// Payment intent fulfillment default timeout (in seconds)
|
||||
pub const DEFAULT_FULFILLMENT_TIME: i64 = 15 * 60;
|
||||
|
||||
/// Payment intent default client secret expiry (in seconds)
|
||||
pub const DEFAULT_SESSION_EXPIRY: i64 = 15 * 60;
|
||||
|
||||
Reference in New Issue
Block a user