mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 20:23:43 +08:00
feat(connector): Add support for chargebee recovery webhooks (#7110)
Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-N7WRTY72X7.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -86,3 +86,12 @@ impl From<PaymentId> for router_env::opentelemetry::Value {
|
||||
Self::from(val.0 .0 .0)
|
||||
}
|
||||
}
|
||||
|
||||
impl std::str::FromStr for PaymentReferenceId {
|
||||
type Err = error_stack::Report<ValidationError>;
|
||||
|
||||
fn from_str(s: &str) -> Result<Self, Self::Err> {
|
||||
let cow_string = std::borrow::Cow::Owned(s.to_string());
|
||||
Self::try_from(cow_string)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user