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:
Sangamesh Kulkarni
2023-07-06 15:29:18 +05:30
committed by GitHub
parent ca4e242d20
commit a15a77dea3
8 changed files with 140 additions and 27 deletions

View File

@ -431,7 +431,8 @@ impl PaymentRedirectFlow for PaymentRedirectCompleteAuthorize {
.and_then(|next_action_data| match next_action_data {
api_models::payments::NextActionData::RedirectToUrl { redirect_to_url } => Some(redirect_to_url),
api_models::payments::NextActionData::DisplayBankTransferInformation { .. } => None,
api_models::payments::NextActionData::ThirdPartySdkSessionToken { .. } => None
api_models::payments::NextActionData::ThirdPartySdkSessionToken { .. } => None,
api_models::payments::NextActionData::QrCodeInformation{..} => None
})
.ok_or(errors::ApiErrorResponse::InternalServerError)
.into_report()