chore: rename orca to hyperswitch (#310)

This commit is contained in:
Sanchith Hegde
2023-01-06 16:40:22 +05:30
committed by GitHub
parent d8d9c22970
commit c0bb1cc378
21 changed files with 121 additions and 119 deletions

View File

@ -157,7 +157,7 @@ pub enum StripeErrorCode {
},
#[error(error_type = StripeErrorType::InvalidRequestError, code = "", message = "The mandate information is invalid. {message}")]
PaymentIntentMandateInvalid { message: String },
// [#216]: https://github.com/juspay/orca/issues/216
// [#216]: https://github.com/juspay/hyperswitch/issues/216
// Implement the remaining stripe error codes
/*

View File

@ -261,7 +261,7 @@ async fn get_parent_merchant(
})
})
// TODO: Update the API validation error structs to provide more info about which field caused an error
// In this case we have multiple fields which use merchant_id (perchant_id & parent_merchant_id)
// In this case we have multiple fields which use merchant_id (merchant_id & parent_merchant_id)
// making it hard to figure out what went wrong
// https://juspay.atlassian.net/browse/ORCA-358
.map(|id| validate_merchant_id(db, id))?.await?.merchant_id

View File

@ -327,13 +327,7 @@ pub enum BachResponse<R> {
Json(R),
StatusOk,
TextPlain(String),
/*
redirect form not used https://juspay.atlassian.net/browse/ORCA-301
RedirectResponse(BachRedirectResponse),
Form(BachRedirectForm),
*/
JsonForRedirection(api::RedirectionResponse),
// RedirectResponse(BachRedirectResponse),
Form(RedirectForm),
}

View File

@ -98,8 +98,6 @@ pub struct PaymentsAuthorizeData {
pub currency: storage_enums::Currency,
pub confirm: bool,
pub statement_descriptor_suffix: Option<String>,
// redirect form not used https://juspay.atlassian.net/browse/ORCA-301
// pub redirection: Option<Redirection>,
pub capture_method: Option<storage_enums::CaptureMethod>,
// Mandates
pub setup_future_usage: Option<storage_enums::FutureUsage>,