mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 11:24:45 +08:00
feat(core): add support for upi_intent and upi_qr (#9716)
Co-authored-by: Kanika Chaudhary <kanika.c@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -198,7 +198,9 @@ pub fn validate_payment_method_type_against_payment_method(
|
||||
),
|
||||
api_enums::PaymentMethod::Upi => matches!(
|
||||
payment_method_type,
|
||||
api_enums::PaymentMethodType::UpiCollect | api_enums::PaymentMethodType::UpiIntent
|
||||
api_enums::PaymentMethodType::UpiCollect
|
||||
| api_enums::PaymentMethodType::UpiIntent
|
||||
| api_enums::PaymentMethodType::UpiQr
|
||||
),
|
||||
api_enums::PaymentMethod::Voucher => matches!(
|
||||
payment_method_type,
|
||||
|
||||
Reference in New Issue
Block a user