feat(connector): [RazorPay] Add new connector and Implement payment flows for UPI payment method (#5200)

Co-authored-by: AkshayaFoiger <akshaya.shankar@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Swangi Kumari
2024-07-09 20:04:20 +05:30
committed by GitHub
parent d9c7849dfa
commit fdac313241
30 changed files with 2644 additions and 6 deletions

View File

@ -121,6 +121,7 @@ pub enum Connector {
Powertranz,
Prophetpay,
Rapyd,
Razorpay,
Shift4,
Square,
Stax,
@ -252,6 +253,7 @@ impl Connector {
| Self::Zsl
| Self::Signifyd
| Self::Plaid
| Self::Razorpay
| Self::Riskified
| Self::Threedsecureio
// | Self::Datatrans
@ -466,6 +468,7 @@ pub enum FieldType {
Text,
DropDown { options: Vec<String> },
UserDateOfBirth,
UserVpaId,
}
impl FieldType {
@ -551,6 +554,7 @@ impl PartialEq for FieldType {
},
) => options_self.eq(options_other),
(Self::UserDateOfBirth, Self::UserDateOfBirth) => true,
(Self::UserVpaId, Self::UserVpaId) => true,
_unused => false,
}
}