-
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 Stripe embedded account notifications component on the Overview page #10314
base: develop
Are you sure you want to change the base?
Add Stripe embedded account notifications component on the Overview page #10314
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: +716 B (0%) Total Size: 1.28 MB
ℹ️ View Unchanged
|
…ent has failed to load.
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.
Thanks for wrangling the banner component, Oleks!
✅ The changes are looking great! Added a non-blocking minor nitpick suggestion.
✅ Testing instructions are checking out correctly!
🚀
.stripe-notifications-banner-wrapper { | ||
padding-bottom: 0.25rem; // Stripe does it in their furever.dev site too so the border is visible. | ||
overflow: hidden; // Stripe does it in their furever.dev site too so the border is visible. | ||
margin-bottom: 24px; |
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.
Minor suggestion.
margin-bottom: 24px; | |
margin-bottom: $gap-large; |
@oaratovskyi I was just looking at this. First of all – great work, it's looking great:) I was just wondering if we have any control over where the badges are rendered. I noticed that this is the only instance (?). where the page prefixes the text label: Could we possibly move it so it follows the label? Do you think we should @orcungogus ? |
I completely agree but I don’t think we have control over that @rogermattic. |
Fixes #9128
Changes proposed in this Pull Request
This pull request introduces an enhancement to the WooCommerce Payments plugin by integrating Stripe's notification banner component directly into the Payments > Overview page. This integration ensures that merchants receive timely Know Your Customer (KYC) notifications within WooPayments, eliminating the need to navigate to the Stripe Express dashboard. By providing these notifications in-plugin, merchants can promptly address account verification requirements, thereby reducing potential delays in account activation and improving the overall user experience.
When we fail to load the embedded component, we'll show the old po and update business details task.
Known issues / questions:
A little bit below there's a video section where you can look at it in action.
Images
Video
KnpYfS.mov
Testing instructions
add/9128-account-notifs-component-on-overview-page
on clientMore than 100M
annual revenue in the MOX and other params as you preferaddress_line1_no_match
in Address line 1 and1111
as last 4 digits of the SSN (to trigger certain verification conditions). You must pass in legitimate values for thecity
,state
, andpostal_code
arguments. Leave phone number empty.111111111
in the SSN to trigger identity mismatch.110000000
and000999999992
to trigger another verification.Testing progressive onboarding
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