Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(session): [stripe] [googlepay] pass stripe publishablekey and stripe version properly (#13865)

Nithin N7f3142a43e39
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs
index d832fc9e19..75d8936098 100644
--- a/crates/api_models/src/payments.rs
+++ b/crates/api_models/src/payments.rs
@@ -10404,7 +10404,9 @@ pub struct GooglePayTokenizationParameters {
pub private_key: Option<Secret<String>>,
pub recipient_id: Option<Secret<String>>,
pub gateway_merchant_id: Option<Secret<String>>,
+ #[serde(rename = "stripe:publishableKey", alias = "stripe_publishable_key")]
pub stripe_publishable_key: Option<Secret<String>>,
+ #[serde(rename = "stripe:version", alias = "stripe_version")]
pub stripe_version: Option<Secret<String>>,
}