Skip to content

Force opt-in with specific email address #753

@xstefanox

Description

@xstefanox

Description

By default, Freemius SDK asks the user to opt-in the first time the plugin page is loaded.
My users are required to opt-in, because I would like to not send them the license by email, and, most importantly, I would like my users to be registered with an email address that is not the WordPress admin email.

The reason for that, is that we already have a registration logic in place in our plugin and we would like our users to register on Freemius with the same email address they previously used to register to our service, in order to sync the 2 email addresses and simplify the user experience.

Describe the solution you'd like

I would like a configuration key to provide the SDK the email address that should be used to register my users on Freemius and another configuration key to silently opt-in my users without displaying the optin-page.

Describe alternatives you've considered

As an alternative, I considered prefilling the email address field in the purchase form in some way, but without success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions