mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 20:23:43 +08:00
feat(connector): [Stripe] Implement Przelewy24 bank redirect (#1111)
Co-authored-by: Jagan <jaganelavarasan@gmail.com>
This commit is contained in:
@ -837,6 +837,24 @@ pub enum BankNames {
|
||||
VeloBank,
|
||||
#[serde(rename = "e-transfer Pocztowy24")]
|
||||
ETransferPocztowy24,
|
||||
PlusBank,
|
||||
EtransferPocztowy24,
|
||||
BankiSpbdzielcze,
|
||||
BankNowyBfgSa,
|
||||
GetinBank,
|
||||
Blik,
|
||||
NoblePay,
|
||||
IdeaBank,
|
||||
EnveloBank,
|
||||
NestPrzelew,
|
||||
MbankMtransfer,
|
||||
Inteligo,
|
||||
PbacZIpko,
|
||||
BnpParibas,
|
||||
BankPekaoSa,
|
||||
VolkswagenBank,
|
||||
AliorBank,
|
||||
Boz,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
|
||||
@ -654,8 +654,11 @@ pub enum BankRedirectData {
|
||||
issuer: api_enums::BankNames,
|
||||
},
|
||||
Przelewy24 {
|
||||
// Shopper Email
|
||||
email: Email,
|
||||
//Issuer banks
|
||||
bank_name: Option<api_enums::BankNames>,
|
||||
|
||||
// The billing details for bank redirect
|
||||
billing_details: BankRedirectBilling,
|
||||
},
|
||||
Sofort {
|
||||
/// The billing details for bank redirection
|
||||
@ -692,7 +695,10 @@ pub struct SofortBilling {
|
||||
pub struct BankRedirectBilling {
|
||||
/// The name for which billing is issued
|
||||
#[schema(value_type = String, example = "John Doe")]
|
||||
pub billing_name: Secret<String>,
|
||||
pub billing_name: Option<Secret<String>>,
|
||||
/// The billing email for bank redirect
|
||||
#[schema(value_type = String, example = "example@example.com")]
|
||||
pub email: Email,
|
||||
}
|
||||
|
||||
#[derive(serde::Deserialize, serde::Serialize, Debug, Clone, ToSchema, Eq, PartialEq)]
|
||||
|
||||
Reference in New Issue
Block a user