-
Notifications
You must be signed in to change notification settings - Fork 798
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
Gutenberg extensions: Stripe connection notices #13441
Conversation
Caution: This PR has changes that must be merged to WordPress.com |
Thank you for the great PR description! When this PR is ready for review, please apply the Scheduled Jetpack release: October 1, 2019. |
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!
import { dispatch } from '@wordpress/data'; | ||
import { __ } from '@wordpress/i18n'; | ||
import '@wordpress/notices'; | ||
import { parse as parseUrl } from 'url'; |
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.
We should use @wordpress/url
getQueryArg
.
Fine to land as-is, there are a bunch of these to migrate.
D32595-code was simply missing the new file (I've added it), but I had to force fusion-check green because of it. |
* Changelog: initial set of changes for 7.8 * Changelog: add #13310 * Changelog: add #13103 * Changelog: add #13426 * Changelog: add #13389 * Changelog: add #13449 * Changelog: add #13461 * Changelog: add #13460 * Changelog: add #13441 * Changelog: add #13454 * Changelog: add #13457 * Changelog: add #13425 * Changelog: add #13473 * Changelog: add #13355 * Changelog: add #13451 * Changelog: add #13358 * Changelog: add #13464 * Changelog: add #13416 * Changelog: add #13494 * Changelog: add #13465 * Changelog: add #13424 * Changelog: add #13432 * Changelog: add #13471 * Changelog: add 7.7.2 entry * Changelog: add #13446 * Add more testing elements
* Changelog: initial set of changes for 7.8 * Changelog: add #13310 * Changelog: add #13103 * Changelog: add #13426 * Changelog: add #13389 * Changelog: add #13449 * Changelog: add #13461 * Changelog: add #13460 * Changelog: add #13441 * Changelog: add #13454 * Changelog: add #13457 * Changelog: add #13425 * Changelog: add #13473 * Changelog: add #13355 * Changelog: add #13451 * Changelog: add #13358 * Changelog: add #13464 * Changelog: add #13416 * Changelog: add #13494 * Changelog: add #13465 * Changelog: add #13424 * Changelog: add #13432 * Changelog: add #13471 * Changelog: add 7.7.2 entry * Changelog: add #13446 * Add more testing elements
Adds success notices for successful and canceled Stripe connections.
Note that copy is now Recurring payments specific since that's the only feature using Stripe like this; in future, if there are multiple features utilizing Stripe, the copy would need to be modified.
Companion for D32394-code and #13398
Changes proposed in this Pull Request:
–
Is this a new feature or does it add/remove features to an existing part of Jetpack?
Updates. paObgF-qE-p2
Testing instructions:
Instead of testing the full flow with other patches, you can just test the contract:
?stripe_connect_success=1
or?stripe_connect_cancelled=1
URL arguments, you should see corresponding notices respectively.Proposed changelog entry for your changes: