Skip to content

Commit

Permalink
refactor: error message
Browse files Browse the repository at this point in the history
  • Loading branch information
swangi-kumari committed May 8, 2024
1 parent 1dc2bb8 commit 8dd38f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/router/src/connector/stripe/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ fn create_stripe_payment_method(
Box::new(AchTransferData {
email: billing_address.email.ok_or(
errors::ConnectorError::MissingRequiredField {
field_name: "email",
field_name: "billing_address.email",
},
)?,
}),
Expand All @@ -1291,7 +1291,7 @@ fn create_stripe_payment_method(
MultibancoTransferData {
email: billing_address.email.ok_or(
errors::ConnectorError::MissingRequiredField {
field_name: "email",
field_name: "billing_address.email",
},
)?,
},
Expand All @@ -1309,7 +1309,7 @@ fn create_stripe_payment_method(
payment_method_type: StripePaymentMethodType::CustomerBalance,
country: billing_address.country.ok_or(
errors::ConnectorError::MissingRequiredField {
field_name: "country",
field_name: "billing_address.country",
},
)?,
})),
Expand Down

0 comments on commit 8dd38f6

Please sign in to comment.