Conversation
…ter a license deactivation. (#826)
…r a license activation.
… has matching values to the customer portal and invoice. (#829)
* Added InstaWP new TLDs as valid develop domains * [sandbox-sites] Also update the playground environment subdomains with the new ones for InstaWP's additional staging TLDs. --------- Co-authored-by: Daniele Alessandra <daniele@freemius.com> Co-authored-by: Leo Fajardo <leo@freemius.com>
Feature/daniele/checkout custom parameters (#819) # Conflicts: # start.php * Flat checkout properties * feat(checkout): allow customizing checkout query params via filter Introduce a namespaced filter to let developers add/modify query params sent to Freemius Checkout. • Add fs_apply_filter( $fs->get_unique_affix(), 'checkout_query_params', ... ) * Add allowlist for checkout query parameters in FS_Checkout_Manager Introduced the private $_allowed_custom_params property to define all supported custom query parameters for the checkout. After applying `fs_apply_filter()`, the function now filters `$filtered_params` using `array_intersect_key()` to remove any unsupported keys before merging. This prevents external filters from injecting unexpected parameters into the checkout query. * Changed filter name to checkout/parameters, code clean and small fixes --------- Co-authored-by: Daniele Alessandra <daniele@freemius.com>
Updated pricing-page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New License Lifecycle Hooks, Checkout Customization, and InstaWP Support
We are releasing version 2.13.0 of the Freemius WordPress SDK, introducing several enhancements and new developer-focused features.
License Lifecycle Hooks
Two new action hooks have been added to help developers manage license lifecycle events:
after_license_activation: Triggered after a license is successfully activated.after_license_deactivation: Triggered after a license is successfully deactivated.These can be used along with the existing
after_license_changehook to perform custom actions when a license’s status changes. This is particularly helpful if you maintain your own license management system and need to keep it in sync with Freemius.You can read more about all supported hooks and filters in our documentation.
Payments Now Show the Gross Amount
Previously, we showed the Net amount in the payments list within the Accounts page, excluding taxes. This sometimes caused confusion in regions where taxes apply.
To address this, the payments list now displays the Gross amount, including all applicable taxes, giving a clearer picture of the total transaction value.
New Filter to Customize Checkout Parameters
We’ve added a new filter
checkout/parametersthat allows you to customize the checkout parameters.For example, to force-show the social proofing UI with the billing cycle selector in the Checkout:
With this filter, the Checkout will load with the corresponding UI.
Please note that not all parameters can be customized — some may still be overridden by your pricing page configuration. We recommend using this only when generating a custom pricing page or checkout links.
Updated Pricing Page
We’ve included version 1.3.0 of the pricing page app, which brings the following improvements:
If you’re not using a custom pricing page, no action is needed. If you are, please review the new release on GitHub to update your fork.
Support for New InstaWP Staging Environment
We now fully support the new InstaWP staging environment. The plugin will automatically switch to safe mode when used in cloned environments. You can read more about it in our documentation.