Skip to content

Call multiple connectors#90

Merged
jarnura merged 45 commits intomainfrom
call_multiple_connectors
Dec 9, 2022
Merged

Call multiple connectors#90
jarnura merged 45 commits intomainfrom
call_multiple_connectors

Conversation

@Narayanbhat166
Copy link
Contributor

Type of Change

  • New feature

Description

  • To call multiple connectors for creating the sessions token which is needed for Wallets.
  • Payment data parameter has been removed from decide_flows as it was never being used, can be included in future if needed.
  • Add sessions_token field to payment_data struct, this will store all the sessions token collected from connectors.

Motivation and Context

A single api call should return the sessions token for all the wallets merchant has enabled. This PR has the change which adds a function call_multiple_connectors which will take vector of connectors and call them in sequence ( should be optimized to call connectors in parallel ).

How did you test it?

NA

Checklist

  • I formatted the code cargo +nightly fmt
  • I addressed lints thrown by cargo clippy
  • I reviewed submitted code

@Narayanbhat166 Narayanbhat166 added A-core Area: Core flows S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Dec 7, 2022
@Narayanbhat166 Narayanbhat166 self-assigned this Dec 7, 2022
@jarnura jarnura added S-waiting-on-author Status: This PR is incomplete or needs to address review comments and removed S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Dec 9, 2022
@Narayanbhat166 Narayanbhat166 removed the S-waiting-on-author Status: This PR is incomplete or needs to address review comments label Dec 9, 2022
Base automatically changed from sessions_flow_for_wallets to main December 9, 2022 15:28
dracarys18
dracarys18 previously approved these changes Dec 9, 2022
SanchithHegde
SanchithHegde previously approved these changes Dec 9, 2022
SanchithHegde
SanchithHegde previously approved these changes Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-core Area: Core flows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants