fix: certificate decode failed when creating the session token for applepay (#1385)

This commit is contained in:
Narayan Bhat
2023-06-09 15:02:17 +05:30
committed by GitHub
parent 638fc42217
commit 8497c55283
4 changed files with 78 additions and 25 deletions

View File

@ -1711,6 +1711,12 @@ pub struct ApplepaySessionRequest {
pub initiative_context: String,
}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub struct ConnectorMetadata {
pub apple_pay: Option<ApplePayMetadata>,
pub google_pay: Option<GpayMetaData>,
}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub struct ApplepaySessionTokenData {
#[serde(rename = "apple_pay")]