mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 11:24:45 +08:00
feat(connector): [Redsys] Use merchant payment_id for ds_merchant_order with length check (#8485)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -1180,6 +1180,12 @@ pub struct PaymentsRequest {
|
||||
|
||||
/// If enabled, provides whole connector response
|
||||
pub all_keys_required: Option<bool>,
|
||||
|
||||
/// Indicates whether the `payment_id` was provided by the merchant
|
||||
/// This value is inferred internally based on the request
|
||||
#[serde(skip_deserializing)]
|
||||
#[remove_in(PaymentsUpdateRequest, PaymentsCreateRequest, PaymentsConfirmRequest)]
|
||||
pub is_payment_id_from_merchant: bool,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, serde::Serialize, serde::Deserialize, ToSchema)]
|
||||
|
||||
Reference in New Issue
Block a user