-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add connect.js library and embedded onboarding integration #9251
Conversation
Test the buildOption 1. Jetpack Beta
Option 2. Jurassic Ninja - available for logged-in A12s🚀 Launch a JN site with this branch 🚀 ℹ️ Install this Tampermonkey script to get more options. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
Size Change: +3.97 kB (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
…ssion is present)
@dmallory42 I've added jest unit test for the embedded component 6120c1c and checked that the submit button works fine on mobile! it was the simulator issue, look how it works on the real phone |
Co-authored-by: oaratovskyi <oleksandr.aratovskyi@automattic.com> Co-authored-by: Daniel Mallory <daniel.mallory@automattic.com> Co-authored-by: Vlad Olaru <vlad@pixelgrade.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well and looks good to me! Now I feel confident about it. The only thingy left is the loader on mobile, we can tweak it separately.
Co-authored-by: oaratovskyi <oleksandr.aratovskyi@automattic.com>
Fixes #9222, #9224, #9223, https://github.com/Automattic/woocommerce-payments-server/issues/6189
Changes proposed in this Pull Request
@stripe/connect-js
,@stripe/react-connect-js
)GET payments/onboarding/session
andPOST payments/onboarding/finalise
to our clientTesting instructions
Before testing
npm install
to install the Stripe libraries.npm run watch
Before each test (prerequisites)
localhost:8087
and either marking the current account as deleted in thewcpay_accounts
table, or updating theaccount_type
value to be something other thanwcpay
(e.g.wcpay+testing
).Happy path
Progressive onboarding
United States
as the countryOnboarding is left
Regression: check test drive KYC still work
Localisation
Tracking
wcadmin_wcpay_onboarding_flow_started
- upon redirect to the MOXwcadmin_wcpay_onboarding_flow_step_completed
- after completion of a step in the MOXwcadmin_wcpay_onboarding_flow_redirected
- after loading the embedded component (note that the name of this event is slightly inaccurate to maintain backwards compatibility)wcadmin_wcpay_stripe_connected
- after completion of the embedded onboarding.TODO
Implementation
onboarding/redirect
@dmallory42Tests/other
npm run changelog
to add a changelog file, choosepatch
to leave it empty if the change is not significant. You can add multiple changelog files in one PR by running this command a few times.Post merge