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(connector): [adyen] googlepay FPAN + 3ds (#11022)

Nithin Nfa4bd5e5bf99
diff --git a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs b/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs
index e981649a4f..2730facf7b 100644
--- a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs
+++ b/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs
@@ -153,6 +153,7 @@ pub struct AdditionalData {
refusal_reason_raw: Option<String>,
refusal_code_raw: Option<String>,
//FPAN Gpay
+ #[serde(flatten)]
paymentdatasource: Option<AdyenPaymentDataSource>,
merchant_advice_code: Option<String>,
#[serde(flatten)]
@@ -163,8 +164,9 @@ pub struct AdditionalData {
#[derive(Clone, Default, Debug, Serialize, Deserialize)]
struct AdyenPaymentDataSource {
- #[serde(rename = "type")]
+ #[serde(rename = "paymentdatasource.type")]
data_type: String,
+ #[serde(rename = "paymentdatasource.tokenized")]
tokenized: String,
}