mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat(connector): Implement Razorpay UPI Collect (#8009)
Co-authored-by: Aishwariyaa Anand <aishwariyaa.anand@Aishwariyaa-Anand-C3PGW02T6Y.local> Co-authored-by: Aishwariyaa Anand <124241367+Aishwariyaa-Anand@users.noreply.github.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -371,6 +371,9 @@ impl Connector {
|
||||
| (Self::Facilitapay, _)
|
||||
)
|
||||
}
|
||||
pub fn requires_order_creation_before_payment(self, payment_method: PaymentMethod) -> bool {
|
||||
matches!((self, payment_method), (Self::Razorpay, PaymentMethod::Upi))
|
||||
}
|
||||
pub fn supports_file_storage_module(self) -> bool {
|
||||
matches!(self, Self::Stripe | Self::Checkout)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user