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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(connectors): [worldpay] send decoded token for ApplePay (#7069)
Kashif7fd3551afd71
diff --git a/crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs b/crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rsindex cd028e81ef..6ae507790d 100644--- a/crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs+++ b/crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs@@ -26,7 +26,7 @@ use super::{requests::*, response::*};use crate::{types::ResponseRouterData,utils::{- self, AddressData, CardData, ForeignTryFrom, PaymentsAuthorizeRequestData,+ self, AddressData, ApplePay, CardData, ForeignTryFrom, PaymentsAuthorizeRequestData,PaymentsSetupMandateRequestData, RouterData as RouterDataTrait,},};@@ -150,7 +150,7 @@ fn fetch_payment_instrument(})),WalletData::ApplePay(data) => Ok(PaymentInstrument::Applepay(WalletPayment {payment_type: PaymentType::Encrypted,- wallet_token: Secret::new(data.payment_data),+ wallet_token: data.get_applepay_decoded_payment_data()?,..WalletPayment::default()})),WalletData::AliPayQr(_)