mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	feat(core): Add support for updating metadata after payment has been authorized (#7776)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -334,11 +334,17 @@ pub enum AuthorizationStatus { | ||||
| #[router_derive::diesel_enum(storage_type = "text")] | ||||
| #[serde(rename_all = "snake_case")] | ||||
| #[strum(serialize_all = "snake_case")] | ||||
| pub enum SessionUpdateStatus { | ||||
| pub enum PaymentResourceUpdateStatus { | ||||
|     Success, | ||||
|     Failure, | ||||
| } | ||||
|  | ||||
| impl PaymentResourceUpdateStatus { | ||||
|     pub fn is_success(&self) -> bool { | ||||
|         matches!(self, Self::Success) | ||||
|     } | ||||
| } | ||||
|  | ||||
| #[derive( | ||||
|     Clone, | ||||
|     Debug, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Swangi Kumari
					Swangi Kumari