feat(stripe): eps, giropay and ideal using stripe (#529)

Co-authored-by: Sangamesh <sangamesh.kulkarni@juspay.in>
This commit is contained in:
Narayan Bhat
2023-02-26 21:59:37 +05:30
committed by GitHub
parent 301736fc25
commit 028e140144
92 changed files with 1532 additions and 1050 deletions

View File

@ -139,7 +139,7 @@ impl PaymentsRequestData for types::PaymentsAuthorizeRouterData {
}
fn get_card(&self) -> Result<api::Card, Error> {
match self.request.payment_method_data.clone() {
api::PaymentMethod::Card(card) => Ok(card),
api::PaymentMethodData::Card(card) => Ok(card),
_ => Err(missing_field_err("card")()),
}
}