mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(connector): [worldpay] add support for mandates (#6479)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -180,6 +180,3 @@ pub const VAULT_DELETE_FLOW_TYPE: &str = "delete_from_vault";
|
||||
/// Vault Fingerprint fetch flow type
|
||||
#[cfg(all(feature = "v2", feature = "payment_methods_v2"))]
|
||||
pub const VAULT_GET_FINGERPRINT_FLOW_TYPE: &str = "get_fingerprint_vault";
|
||||
|
||||
/// Worldpay's unique reference ID for a request TODO: Move to hyperswitch_connectors/constants once Worldpay is moved to connectors crate
|
||||
pub const WP_CORRELATION_ID: &str = "WP-CorrelationId";
|
||||
|
||||
@ -2396,7 +2396,7 @@ fn update_connector_mandate_details_for_the_flow<F: Clone>(
|
||||
))
|
||||
}
|
||||
} else {
|
||||
None
|
||||
original_connector_mandate_reference_id
|
||||
};
|
||||
|
||||
payment_data.payment_attempt.connector_mandate_detail = connector_mandate_reference_id
|
||||
|
||||
@ -89,7 +89,6 @@ pub mod headers {
|
||||
pub const X_REDIRECT_URI: &str = "x-redirect-uri";
|
||||
pub const X_TENANT_ID: &str = "x-tenant-id";
|
||||
pub const X_CLIENT_SECRET: &str = "X-Client-Secret";
|
||||
pub const X_WP_API_VERSION: &str = "WP-Api-Version";
|
||||
}
|
||||
|
||||
pub mod pii {
|
||||
|
||||
Reference in New Issue
Block a user