Skip to content
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

Widgets: Add Plan Check to the Simple Payments Widget #9824

Merged

Conversation

rodrigoi
Copy link
Contributor

@rodrigoi rodrigoi commented Jun 26, 2018

Depends on:

Original PR (for the old feature branch) on #9657.

Changes proposed in this Pull Request:

  • Adds a plan support check to the SP Widget.

Testing instructions:

  • Apply this branch on a Jetpack site with a Premium or Business Subscriptions.
  • Using the Customizer, add a Simple Payment button as a widget to the site's sidebar.
  • Navigate to site's frontend.

The Simple Payment button should display as a widget on the selected sidebar and location.

  • Downgrade the site to the Free plan without deleting the SP Widget from the sidebar.
  • Navigate to the Jetpack dashboard to refresh the site's settings.
  • Navigate to site's frontend.

The site's sidebar should no longer show the Simple Payment.

@rodrigoi rodrigoi merged commit 65c35b1 into add/simple-payments-widget Jun 26, 2018
@rodrigoi rodrigoi deleted the add/simple-payments-widget-plan-check branch June 26, 2018 15:17
oskosk pushed a commit that referenced this pull request Jun 26, 2018
* Widgets: Adds support for Simple Payment Buttons as Widgets

* Simple Payments Widget: Add style overrides (#9580)

Override the media query and ensure that Simple Payments widgets are always displayed as a single column.

* Widgets: Only render the Simple Payments widget if its button exists (#9673)

In the frontend, only show the widget if the Simple Payments shortcode is parsed successfully.

In the customizer, show the widget regardless, so that it can be modified via the pencil icon.

* Simple Payment Widget: Manage Products from the Customizer (#9699)

* Customizer: Simple Payments Widget breaks when starting without products (#9809)

* Widgets: Hide Simple Payments create and edit buttons in widgets.php (#9811)

* Widgets: Record events for the Simple Payments widget (#9803)

* Widgets: Add Plan Check to the Simple Payments Widget (#9824)

* Customizer: keep Simple Payments Widget Customizer in sync between instances (#9814)

* Customizer: improves price validation on the Simple Payments Widget Customizer

* Customizer: improves the behaviour of the action buttons on the Simple Payments Widget Customizer
@jeherve jeherve added the [Feature] Pay with PayPal aka Simple Payments label Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants