mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
feat(connector): [Stripe] Add support for WeChat Pay and Qr code support in next action (#1555)
Co-authored-by: AkshayaFoiger <akshaya.shankar@juspay.in> Co-authored-by: chikke srujan <121822803+srujanchikke@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ca4e242d20
commit
a15a77dea3
@ -687,6 +687,9 @@ pub enum StripeNextAction {
|
||||
ThirdPartySdkSessionToken {
|
||||
session_token: Option<payments::SessionToken>,
|
||||
},
|
||||
QrCodeInformation {
|
||||
image_data_url: url::Url,
|
||||
},
|
||||
}
|
||||
|
||||
pub(crate) fn into_stripe_next_action(
|
||||
@ -710,5 +713,8 @@ 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 }
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@ -345,6 +345,9 @@ pub enum StripeNextAction {
|
||||
ThirdPartySdkSessionToken {
|
||||
session_token: Option<payments::SessionToken>,
|
||||
},
|
||||
QrCodeInformation {
|
||||
image_data_url: url::Url,
|
||||
},
|
||||
}
|
||||
|
||||
pub(crate) fn into_stripe_next_action(
|
||||
@ -368,6 +371,9 @@ 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 }
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user