mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 03:13:56 +08:00
chore: rename orca to hyperswitch (#310)
This commit is contained in:
@ -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
|
||||
|
||||
/*
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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),
|
||||
}
|
||||
|
||||
|
||||
@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user