-
Notifications
You must be signed in to change notification settings - Fork 50
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: update Stripe Settings dashboard UI #3488
Conversation
Note: #3494 expands on this PR with a minor data refactor and UI update, plus adds full support for WooPayments in addition to the Stripe gateway. I opened as a separate PR so that we can handle code review in stages. |
|
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.
LGTM! All works
…e-gateways feat: support for WooPayments as a payment gateway
Hey @dkoo, good job getting this PR merged! 🎉 Now, the Please check if this PR needs to be included in the "Upcoming Changes" and "Release Notes" doc. If it doesn't, simply remove the label. If it does, please add an entry to it to our shared document, with screenshots and testing instructions if applicable, then remove the label. Thank you! ❤️ |
# [5.8.0-alpha.1](v5.7.0...v5.8.0-alpha.1) (2024-11-15) ### Bug Fixes * **reader-registration-block:** fix styles of newsletter lists ([1e1d7a4](1e1d7a4)) * **salesforce:** handle woocommerce inactive ([#3521](#3521)) ([bf868a4](bf868a4)) * use user email for esp sync purposes ([#3520](#3520)) ([d6925ff](d6925ff)) * **wc-memberships:** WC for Teams join-team link; team in my-account ([#3540](#3540)) ([489ce0f](489ce0f)) ### Features * also trigger subscription change events on switch ([#3514](#3514)) ([5a84949](5a84949)) * **pwa:** enable SW file caching ([82af7d4](82af7d4)) * **starter-content:** e2e improvements; removal CLI command ([35431ac](35431ac)) * update Stripe Settings dashboard UI ([#3488](#3488)) ([7974fac](7974fac)) * **wc-memberships:** support team data in import ([63c78b2](63c78b2))
🎉 This PR is included in version 5.8.0-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [5.8.0](v5.7.0...v5.8.0) (2024-11-25) ### Bug Fixes * **reader-registration-block:** fix styles of newsletter lists ([1e1d7a4](1e1d7a4)) * **salesforce:** handle woocommerce inactive ([#3521](#3521)) ([bf868a4](bf868a4)) * use user email for esp sync purposes ([#3520](#3520)) ([d6925ff](d6925ff)) * **wc-memberships:** WC for Teams join-team link; team in my-account ([#3540](#3540)) ([489ce0f](489ce0f)) ### Features * also trigger subscription change events on switch ([#3514](#3514)) ([5a84949](5a84949)) * **pwa:** enable SW file caching ([82af7d4](82af7d4)) * **starter-content:** e2e improvements; removal CLI command ([35431ac](35431ac)) * update Stripe Settings dashboard UI ([#3488](#3488)) ([7974fac](7974fac)) * **wc-memberships:** support team data in import ([63c78b2](63c78b2))
🎉 This PR is included in version 5.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
All Submissions:
Changes proposed in this Pull Request:
Updates our Stripe Settings dashboard page with a new "Payment Methods" page which lays the groundwork for showing UI for all payment gateways that Newspack fully supports (currently only Stripe and WooPayments). This PR only implements UI for Stripe, for now.
The new UI removes settings fields which are duplicative of settings in the Stripe payment gateway's own settings pages, in favor of a link out to those settings pages for configuration. It shows a "Connection status" indicator showing whether the payment gateway is not connected, partially connected (with API keys but not with the new OAuth method), or fully connected.
It also reorganizes the "Transaction fees" settings fields slightly, for better visual clarity since the UI is now more hierarchical than before.
How to test the changes in this Pull Request:
Click "Activate" and confirm that the plugin installer component is replaced by a "Stripe" settings component. If you previously had Stripe connected, it will show as enabled already and with Connection Status and settings in the content area, otherwise it will just show a toggle switch to enable the payment gateway.
If your site was already connected to Stripe via API keys (previously the only option) but not OAuth, confirm that the Stripe component shows "Needs attention" under "Connection Status", along with our transaction fee settings:
Note: in this state (connected via API keys but not OAuth), the Stripe gateway will continue to work on the front-end for checkout, but this is not guaranteed to continue working beyond Oct. 29.
wp option delete woocommerce_stripe_settings
). Refresh the page and confirm that "Connection Status" shows "Not connected" and that the transaction fee fields are no longer shown.Other information: