-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: [IOBP-283] new wallet onboarding apis #310
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #310 +/- ##
==========================================
- Coverage 68.55% 67.92% -0.64%
==========================================
Files 134 143 +9
Lines 4777 4951 +174
Branches 612 618 +6
==========================================
+ Hits 3275 3363 +88
+ Misses 1501 1494 -7
- Partials 1 94 +93
... and 21 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
…ethod (#5137) ##⚠️ This PR depends on pagopa/io-app-design-system#111 ##⚠️ This PR depends on pagopa/io-dev-api-server#310 ## Short description This PR introduces the new select payment method process into wallet onboarding flow showing a list of all available payment methods and when selecting one of them, it redirects to the webview page giving the payment method selected as property in order to start the onboarding process on the webview. ## List of changes proposed in this pull request - Updated swagger definitions into package.json with the new one provided; - Created new `WalletOnboardingPaymentMethodsList` component to show a list of available payment methods; - Created relative saga, actions and reducer to retrieve from the API a list of all available payment methods; - Setupped the navigation param `paymentMethodId` into Wallet Onboarding start screen with webview in order to start the onboarding process for the selected payment method. - Upgraded the design system library to the version `1.14.0` **NB:** This PR handles only the first page to select an available payment method from the list, other screens will be managed in another PR with a new Jira task ([IOBP-284](https://pagopa.atlassian.net/browse/IOBP-284)) ## How to test Describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. ## Preview https://github.com/pagopa/io-app/assets/34343582/fa06d1ae-5c01-4296-8efe-527054e5edaa [IOBP-284]: https://pagopa.atlassian.net/browse/IOBP-284?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --------- Co-authored-by: Jacopo Pompilii <[email protected]>
Short description
This PR introduces the new changes made for the new onboarding wallet flow.
List of changes proposed in this pull request
/payment-methods
GET in order to retrieve a list of all available payment methods that the user can onboard,