feat(connector): Create Customer for Chargebee (#9304)

Co-authored-by: Prajjwal kumar <write2prajjwal@gmail.com>
Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Ankit Kumar Gupta
2025-09-18 18:56:18 +05:30
committed by GitHub
parent d32b461950
commit e67061876c
19 changed files with 352 additions and 73 deletions

View File

@ -60,9 +60,9 @@ pub async fn create_connector_customer<F: Clone, T: Clone>(
let connector_customer_id = match resp.response {
Ok(response) => match response {
types::PaymentsResponseData::ConnectorCustomerResponse {
connector_customer_id,
} => Some(connector_customer_id),
types::PaymentsResponseData::ConnectorCustomerResponse(customer_data) => {
Some(customer_data.connector_customer_id)
}
_ => None,
},
Err(err) => {

View File

@ -1997,7 +1997,7 @@ async fn payment_response_update_tracker<F: Clone, T: types::Capturable>(
types::PaymentsResponseData::TokenizationResponse { .. } => {
(None, None, None)
}
types::PaymentsResponseData::ConnectorCustomerResponse { .. } => {
types::PaymentsResponseData::ConnectorCustomerResponse(..) => {
(None, None, None)
}
types::PaymentsResponseData::ThreeDSEnrollmentResponse { .. } => {