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:
Saptak Dutta
2025-07-03 21:55:45 +05:30
committed by GitHub
parent 37a95e3733
commit 6678ee3517
49 changed files with 346 additions and 45 deletions

View File

@ -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)]