feat: added client_source, client_version in payment_attempt from payments confirm request headers (#4657)

This commit is contained in:
Vrishab Srivatsa
2024-05-17 15:57:30 +05:30
committed by GitHub
parent 853f3b4854
commit 7e44bbca63
17 changed files with 97 additions and 10 deletions

View File

@ -72,6 +72,9 @@ pub mod headers {
pub const X_REQUEST_ID: &str = "X-Request-Id";
pub const STRIPE_COMPATIBLE_WEBHOOK_SIGNATURE: &str = "Stripe-Signature";
pub const STRIPE_COMPATIBLE_CONNECT_ACCOUNT: &str = "Stripe-Account";
pub const X_CLIENT_VERSION: &str = "X-Client-Version";
pub const X_CLIENT_SOURCE: &str = "X-Client-Source";
pub const X_PAYMENT_CONFIRM_SOURCE: &str = "X-Payment-Confirm-Source";
pub const CONTENT_LENGTH: &str = "Content-Length";
}