Integrating OptimizePress 2 into Kartra will require a three components from OptimizePress 2:
- 1. An API key
- 2. The URL for the OptimizePress 2 installation.
- 3. Membership ID: the Kartra/OptimizePress integration is specific to a single membership access level, so we recommend you to create a new integration for each access level you wish to add to your membership. As a result, each integration will require its unique membership ID from OptimizePress 2.
In Kartra, when you click the New Integration option for OptimizePress 2, you will see the following fields:
OptimizePress 2 is based on WordPress. As such, you need to enter the URL pointing to the exact place where WordPress has been installed in your domain. For example: http://yourdomain.com/wordpress/ or http://wordpress.yourdomain.com or whatever it might be. Copy that into the “URL to OptimizePress 2 integration” section.
Here’s how to collect your OptimizePress 2 API key:
At the Add-On section in your WordPress, select the following options: OptimizeMember -> API / Scripting -> Pro API for remote operations.
Note: OptimizePress 2 and/or WordPress may have change their interface by the time you read this documentation, but there should still be an API section with the key information.
From there, copy the API key from the Pro API for remote operations.
Once you have the API, go back to the original tab with Kartra, you will need to copy the “API Key” into the modal window.
Since this integration will be specific to a pre-designated Membership level, you will need to specify that Membership ID.
To find the Membership ID, go back to Add-Ons in your WordPress. First select “General Options” and then “Define Membership Levels and Packages”.
Example: If you want to use Level #0 (Free Subscribers) the membership ID will be 0. Level #1 will be Membership ID 1. And so on…
Final step: revoking access!
While a membership level is usually granted upon a purchase, it is also necessary to have a default action in case the customer cancels/refunds that very purchase. OptimizePress offers two options in this regard: delete or downgrade.
Deleting will, obviously, delete the user altogether. However, a downgrade will set the user to another membership ID of your choice.
And… that it’s! Just save your settings and the integration should be completed!