mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
feat(connector): [JPMORGAN] add Payment flows for cards (#6668)
Co-authored-by: Sayak Bhattacharya <sayak.b@Sayak-Bhattacharya-GJQC9R9THR.local>
This commit is contained in:
committed by
GitHub
parent
dc0a92dc10
commit
adcddd643c
@ -1401,6 +1401,10 @@ impl ConnectorAuthTypeAndMetadataValidation<'_> {
|
||||
itaubank::transformers::ItaubankAuthType::try_from(self.auth_type)?;
|
||||
Ok(())
|
||||
}
|
||||
api_enums::Connector::Jpmorgan => {
|
||||
jpmorgan::transformers::JpmorganAuthType::try_from(self.auth_type)?;
|
||||
Ok(())
|
||||
}
|
||||
api_enums::Connector::Klarna => {
|
||||
klarna::transformers::KlarnaAuthType::try_from(self.auth_type)?;
|
||||
klarna::transformers::KlarnaConnectorMetadataObject::try_from(
|
||||
|
||||
@ -446,9 +446,11 @@ impl ConnectorData {
|
||||
// Ok(ConnectorEnum::Old(Box::new(connector::Inespay::new())))
|
||||
// }
|
||||
enums::Connector::Itaubank => {
|
||||
//enums::Connector::Jpmorgan => Ok(ConnectorEnum::Old(Box::new(connector::Jpmorgan))),
|
||||
Ok(ConnectorEnum::Old(Box::new(connector::Itaubank::new())))
|
||||
}
|
||||
enums::Connector::Jpmorgan => {
|
||||
Ok(ConnectorEnum::Old(Box::new(connector::Jpmorgan::new())))
|
||||
}
|
||||
enums::Connector::Klarna => {
|
||||
Ok(ConnectorEnum::Old(Box::new(connector::Klarna::new())))
|
||||
}
|
||||
|
||||
@ -256,7 +256,7 @@ impl ForeignTryFrom<api_enums::Connector> for common_enums::RoutableConnectors {
|
||||
api_enums::Connector::Iatapay => Self::Iatapay,
|
||||
// api_enums::Connector::Inespay => Self::Inespay,
|
||||
api_enums::Connector::Itaubank => Self::Itaubank,
|
||||
//api_enums::Connector::Jpmorgan => Self::Jpmorgan,
|
||||
api_enums::Connector::Jpmorgan => Self::Jpmorgan,
|
||||
api_enums::Connector::Klarna => Self::Klarna,
|
||||
api_enums::Connector::Mifinity => Self::Mifinity,
|
||||
api_enums::Connector::Mollie => Self::Mollie,
|
||||
|
||||
Reference in New Issue
Block a user