mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat(connector): [Adyen] Add pix support for adyen (#1703)
Co-authored-by: Abhishek Marrivagu <68317979+Abhicodes-crypto@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1f8e790b14
commit
33a1368e8a
@ -768,7 +768,10 @@ pub enum StripeNextAction {
|
||||
session_token: Option<payments::SessionToken>,
|
||||
},
|
||||
QrCodeInformation {
|
||||
image_data_url: url::Url,
|
||||
/// Hyperswitch generated image data source url
|
||||
image_data_url: Option<url::Url>,
|
||||
/// The url for Qr code given by the connector
|
||||
qr_code_url: Option<url::Url>,
|
||||
},
|
||||
}
|
||||
|
||||
@ -793,9 +796,13 @@ pub(crate) fn into_stripe_next_action(
|
||||
payments::NextActionData::ThirdPartySdkSessionToken { session_token } => {
|
||||
StripeNextAction::ThirdPartySdkSessionToken { session_token }
|
||||
}
|
||||
payments::NextActionData::QrCodeInformation { image_data_url } => {
|
||||
StripeNextAction::QrCodeInformation { image_data_url }
|
||||
}
|
||||
payments::NextActionData::QrCodeInformation {
|
||||
image_data_url,
|
||||
qr_code_url,
|
||||
} => StripeNextAction::QrCodeInformation {
|
||||
image_data_url,
|
||||
qr_code_url,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@ -369,7 +369,10 @@ pub enum StripeNextAction {
|
||||
session_token: Option<payments::SessionToken>,
|
||||
},
|
||||
QrCodeInformation {
|
||||
image_data_url: url::Url,
|
||||
/// Hyperswitch generated image data source url
|
||||
image_data_url: Option<url::Url>,
|
||||
/// The url for Qr code given by the connector
|
||||
qr_code_url: Option<url::Url>,
|
||||
},
|
||||
}
|
||||
|
||||
@ -394,9 +397,13 @@ pub(crate) fn into_stripe_next_action(
|
||||
payments::NextActionData::ThirdPartySdkSessionToken { session_token } => {
|
||||
StripeNextAction::ThirdPartySdkSessionToken { session_token }
|
||||
}
|
||||
payments::NextActionData::QrCodeInformation { image_data_url } => {
|
||||
StripeNextAction::QrCodeInformation { image_data_url }
|
||||
}
|
||||
payments::NextActionData::QrCodeInformation {
|
||||
image_data_url,
|
||||
qr_code_url,
|
||||
} => StripeNextAction::QrCodeInformation {
|
||||
image_data_url,
|
||||
qr_code_url,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user