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:
Swangi Kumari
2025-06-11 18:55:24 +05:30
committed by GitHub
parent 0fb7eb0b92
commit ee7bce0ff6
50 changed files with 1454 additions and 1518 deletions

View File

@ -518,6 +518,23 @@ impl ConnectorSpecifications for ConnectorEnum {
Self::New(connector) => connector.get_connector_about(),
}
}
#[cfg(feature = "v2")]
/// Generate connector request reference ID
fn generate_connector_request_reference_id(
&self,
payment_intent: &hyperswitch_domain_models::payments::PaymentIntent,
payment_attempt: &hyperswitch_domain_models::payments::payment_attempt::PaymentAttempt,
) -> String {
match self {
Self::Old(connector) => {
connector.generate_connector_request_reference_id(payment_intent, payment_attempt)
}
Self::New(connector) => {
connector.generate_connector_request_reference_id(payment_intent, payment_attempt)
}
}
}
}
impl ConnectorCommon for ConnectorEnum {