mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	feat(connector): [Worldpay] add support for webhook (#820)
This commit is contained in:
		| @ -486,15 +486,6 @@ impl common_utils::errors::ErrorSwitch<errors::ConnectorError> for errors::Parsi | ||||
|     } | ||||
| } | ||||
|  | ||||
| pub fn to_string<T>(data: &T) -> Result<String, Error> | ||||
| where | ||||
|     T: serde::Serialize, | ||||
| { | ||||
|     serde_json::to_string(data) | ||||
|         .into_report() | ||||
|         .change_context(errors::ConnectorError::ResponseHandlingFailed) | ||||
| } | ||||
|  | ||||
| pub fn base64_decode(data: String) -> Result<Vec<u8>, Error> { | ||||
|     consts::BASE64_ENGINE | ||||
|         .decode(data) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jagan
					Jagan