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:
chikke srujan
2025-02-27 17:02:18 +05:30
committed by GitHub
parent 5965d0f8ac
commit 37aacfa165
16 changed files with 436 additions and 14 deletions

View File

@ -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)
}
}