feat(core): added multiple payment_attempt support for payment_intent (#439)

Co-authored-by: Nishant Joshi <nishant.joshi@juspay.in>
This commit is contained in:
Abhishek
2023-03-30 23:49:51 +05:30
committed by GitHub
parent 4d1013c611
commit 35d3e27724
29 changed files with 374 additions and 509 deletions

View File

@ -880,7 +880,7 @@ impl<F, T>
.transaction_id
.map_or(response.order_id, Some) // For paypal there will be no transaction_id, only order_id will be present
.map(types::ResponseId::ConnectorTransactionId)
.ok_or_else(|| errors::ConnectorError::MissingConnectorTransactionID)?,
.ok_or(errors::ConnectorError::MissingConnectorTransactionID)?,
redirection_data,
mandate_reference: None,
// we don't need to save session token for capture, void flow so ignoring if it is not present