mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
refactor(core): make attempt id as mandatory in router_data (#604)
This commit is contained in:
@ -348,7 +348,7 @@ pub trait ConnectorActions: Connector {
|
||||
merchant_id: self.get_name(),
|
||||
connector: self.get_name(),
|
||||
payment_id: uuid::Uuid::new_v4().to_string(),
|
||||
attempt_id: Some(uuid::Uuid::new_v4().to_string()),
|
||||
attempt_id: uuid::Uuid::new_v4().to_string(),
|
||||
status: enums::AttemptStatus::default(),
|
||||
router_return_url: info.clone().and_then(|a| a.router_return_url),
|
||||
auth_type: info
|
||||
|
||||
Reference in New Issue
Block a user