mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
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:
committed by
GitHub
parent
d32b461950
commit
e67061876c
@ -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) => {
|
||||
|
||||
@ -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 { .. } => {
|
||||
|
||||
Reference in New Issue
Block a user